Do not use Stopwatch in PCEPRequest 08/100708/4
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 21 Apr 2022 14:38:22 +0000 (16:38 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Thu, 21 Apr 2022 17:18:17 +0000 (19:18 +0200)
commit9cfc056b8f41ea729994e06801c587d8d6075fad
treee2802f29aaaf90b6fa23f78d8ad77de4a652cf4a
parentf03809912c5680f6f12089ef803da2af23aa64cb
Do not use Stopwatch in PCEPRequest

While a Stopwatch is useful, we are not using its Ticker-based utility.
Use System.nanoTime() directly to keep track of our elapsed time,
improving our memory footprint slightly.

Change-Id: I12cb3c6070dcac56ab4d80ec18b9be3a647e9f00
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
pcep/topology/topology-provider/src/main/java/org/opendaylight/bgpcep/pcep/topology/provider/PCEPRequest.java