public class TimeTracker<T> extends Object
UpdatablePriorityBlockingQueue associated is updated with the new generated TimeStats.| Constructor and Description |
|---|
TimeTracker(int frequency,
UpdatablePriorityBlockingQueue<T> queue,
TimeFunctionFactory functionFactory)
Creates a new TimeTracker with a buffer of the provided size, that updates the given queue using the functions
provided by the factory.
|
| Modifier and Type | Method and Description |
|---|---|
void |
executing()
Stores the waiting time of the given runnable in the buffer
if the buffer is full the queue is updated.
|
public TimeTracker(int frequency,
UpdatablePriorityBlockingQueue<T> queue,
TimeFunctionFactory functionFactory)
size - queue - Copyright © 2010–2025 The DAISY Consortium. All rights reserved.