-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
Hi,
Question 1:
Is it possible to collect data for the entire system, i.e, not for a specific executable, but rather let the counters collect data regardless of what's running on the system for some duration of time?
Is it possible to simply do:
perf = Profiler(events_groups=events) # with some events that we've already defined
while (true):
perf.start_counters(0)
time.sleep(20) # sleep for some time
data = perf.read_events()
in order to do system wide data collection (for the duration of 20 sec at a time)?
PS: would prefixing the name of the event with 'SYSTEMWIDE' do the trick?
Question 2:
Is it possible to set a sampling rate for the question above?
Thank you very much for your tool!
Metadata
Metadata
Assignees
Labels
No labels