profile: better time breakdown and exclusion of idle cycles
This commit is contained in:
@@ -554,6 +554,7 @@ struct process {
|
||||
int profile;
|
||||
mcs_lock_node_t profile_lock;
|
||||
struct profile_event *profile_events;
|
||||
unsigned long profile_elapsed_ts;
|
||||
#endif // PROFILE_ENABLE
|
||||
int nr_processes; /* For partitioned execution */
|
||||
};
|
||||
@@ -631,6 +632,8 @@ struct thread {
|
||||
#ifdef PROFILE_ENABLE
|
||||
int profile;
|
||||
struct profile_event *profile_events;
|
||||
unsigned long profile_start_ts;
|
||||
unsigned long profile_elapsed_ts;
|
||||
#endif // PROFILE_ENABLE
|
||||
|
||||
// signal
|
||||
|
||||
Reference in New Issue
Block a user