Project

General

Profile

Feature #14261

Include input source in TimeTracker

Added by Aaron Fienberg almost 4 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
10/25/2016
Due date:
% Done:

100%

Estimated time:
2.00 h
Spent time:
Scope:
Internal
Experiment:
g-2
SSI Package:
art
Duration:

Description

In our g-2 code, we use a custom input source module. We are interested in this module's contribution to the total event processing time. Could the TimeTracker service be modified to include the input source in its output? Thanks!

History

#1 Updated by Kyle Knoepfel almost 4 years ago

  • Status changed from New to Accepted
  • Estimated time set to 2.00 h

This should be straightforward to implement. It will require an adjustment to the SQL query since InputSource and OutputModule times are not automatically included in the full-event time.

As an aside, the time recorded for reading the event when using the RootInput source will not reflect the time it takes to read the data.

#2 Updated by Kyle Knoepfel over 3 years ago

  • Status changed from Accepted to Assigned
  • Assignee set to Kyle Knoepfel

#3 Updated by Kyle Knoepfel over 3 years ago

  • Target version set to 1209

#4 Updated by Kyle Knoepfel over 3 years ago

  • % Done changed from 0 to 90
  • SSI Package art added

This feature has been largely implement with commit art:c1ebcd0d. The SQLite querying scripts in the art/tools/sqlite/timeTracker directory need to be adjusted to reflect the changes. The summary print-out to the screen will look like (e.g.):

====================================================================================================================
TimeTracker printout (sec)            Min           Avg           Max         Median          RMS         nEvts
====================================================================================================================
Full event                        6.2052e-05    0.000740234   0.00665773    7.0703e-05    0.00197277       10
--------------------------------------------------------------------------------------------------------------------
source:EmptyEvent(read)           2.9577e-05    5.81196e-05   0.000153255   3.43595e-05   4.5691e-05       10
end_path:out:RootOutput            1.087e-06    3.1835e-06    2.0459e-05    1.1915e-06    5.76396e-06      10
end_path:out:RootOutput(write)    2.2214e-05    0.000662502   0.00640421    2.3567e-05    0.00191391       10
====================================================================================================================

#5 Updated by Kyle Knoepfel over 3 years ago

  • % Done changed from 90 to 100

TimeTracker scripts updated with commit art:5c57fa1c.

#6 Updated by Kyle Knoepfel over 3 years ago

  • Subject changed from include input source in TimeTracker to Include input source in TimeTracker
  • Status changed from Assigned to Resolved

#7 Updated by Kyle Knoepfel over 3 years ago

  • Target version changed from 1209 to 2.07.01

#8 Updated by Kyle Knoepfel over 3 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF