Class: ServerScripts::Parser::StarpuProfile
- Inherits:
-
Object
- Object
- ServerScripts::Parser::StarpuProfile
- Defined in:
- lib/server_scripts/parser/starpu_profile.rb
Instance Attribute Summary collapse
-
#total_exec_time ⇒ Object
readonly
Returns the value of attribute total_exec_time.
-
#total_overhead_time ⇒ Object
readonly
Returns the value of attribute total_overhead_time.
-
#total_sleep_time ⇒ Object
readonly
Returns the value of attribute total_sleep_time.
-
#total_time ⇒ Object
readonly
Returns the value of attribute total_time.
Instance Method Summary collapse
-
#initialize(regex) ⇒ StarpuProfile
constructor
A new instance of StarpuProfile.
Constructor Details
#initialize(regex) ⇒ StarpuProfile
Returns a new instance of StarpuProfile.
9 10 11 12 13 14 15 16 17 |
# File 'lib/server_scripts/parser/starpu_profile.rb', line 9 def initialize regex @regex = regex @total_time = 0.0 @total_exec_time = 0.0 @total_sleep_time = 0.0 @total_overhead_time = 0.0 extract_data_from_profiles end |
Instance Attribute Details
#total_exec_time ⇒ Object (readonly)
Returns the value of attribute total_exec_time.
5 6 7 |
# File 'lib/server_scripts/parser/starpu_profile.rb', line 5 def total_exec_time @total_exec_time end |
#total_overhead_time ⇒ Object (readonly)
Returns the value of attribute total_overhead_time.
7 8 9 |
# File 'lib/server_scripts/parser/starpu_profile.rb', line 7 def total_overhead_time @total_overhead_time end |
#total_sleep_time ⇒ Object (readonly)
Returns the value of attribute total_sleep_time.
6 7 8 |
# File 'lib/server_scripts/parser/starpu_profile.rb', line 6 def total_sleep_time @total_sleep_time end |
#total_time ⇒ Object (readonly)
Returns the value of attribute total_time.
4 5 6 |
# File 'lib/server_scripts/parser/starpu_profile.rb', line 4 def total_time @total_time end |