Class: ServerScripts::Parser::VTune::Hotspots::SLATE
- Defined in:
- lib/server_scripts/parser/vtune/hotspots/threads/slate.rb
Constant Summary
Constants inherited from Base
Base::CPU_EFFECTIVE_TIME, Base::CPU_OVERHEAD_TIME, Base::CPU_SPIN_TIME, Base::CPU_TIME, Base::MPI_BUSY_WAIT_TIME, Base::WAIT_TIME
Instance Method Summary collapse
-
#initialize(fname, nthreads:) ⇒ SLATE
constructor
A new instance of SLATE.
-
#total_mpi_busy_wait_time ⇒ Object
Get the total time for all threads under the header “CPU Time:Spin Time:MPI Busy Wait Time”.
Methods inherited from Threads
#time, #total_cpu_effective_time, #total_cpu_overhead_time, #total_cpu_spin_time, #total_cpu_time, #total_time, #total_wait_time
Constructor Details
#initialize(fname, nthreads:) ⇒ SLATE
Returns a new instance of SLATE.
6 7 8 9 |
# File 'lib/server_scripts/parser/vtune/hotspots/threads/slate.rb', line 6 def initialize fname, nthreads: @num_threads = nthreads super(fname) end |
Instance Method Details
#total_mpi_busy_wait_time ⇒ Object
Get the total time for all threads under the header “CPU Time:Spin Time:MPI Busy Wait Time”. This time is included within “CPU Time:Spin Time”.
14 15 16 17 |
# File 'lib/server_scripts/parser/vtune/hotspots/threads/slate.rb', line 14 def total_mpi_busy_wait_time @total_mpi_busy_time ||= parse_for_event(:mpi_busy_wait_time) @total_mpi_busy_time end |