| 108 | }; |
| 109 | |
| 110 | static void _time(Time start, Timer that) |
| 111 | { |
| 112 | const Time stop = Clock::now(); |
| 113 | |
| 114 | double value; |
| 115 | |
| 116 | synchronized (that.data->lock) { |
| 117 | that.data->lastValue = T(stop - start).value(); |
| 118 | value = that.data->lastValue.get(); |
| 119 | } |
| 120 | |
| 121 | that.push(value); |
| 122 | } |
| 123 | |
| 124 | std::shared_ptr<Data> data; |
| 125 | }; |
nothing calls this directly
no test coverage detected