diff options
Diffstat (limited to 'include/framework/scheduling/Task.h')
| -rw-r--r-- | include/framework/scheduling/Task.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/include/framework/scheduling/Task.h b/include/framework/scheduling/Task.h index 3dbc9f4..b2884c7 100644 --- a/include/framework/scheduling/Task.h +++ b/include/framework/scheduling/Task.h @@ -72,7 +72,6 @@ struct Task { } void operator()(size_t thrd_id) { - auto start = std::chrono::high_resolution_clock::now(); if (m_stats) { m_stats->job_begin(m_timestamp); } @@ -82,14 +81,6 @@ struct Task { if (m_stats) { m_stats->job_complete(m_timestamp); } - auto stop = std::chrono::high_resolution_clock::now(); - - if (m_stats) { - auto time = - std::chrono::duration_cast<std::chrono::nanoseconds>(stop - start) - .count(); - m_stats->log_time_data(time, m_type); - } if (m_lk) { m_lk->unlock(); |