Method: Gonzui::PerformanceCounter#initialize

Defined in:
lib/gonzui/monitor.rb

#initializePerformanceCounter

Returns a new instance of PerformanceCounter.



115
116
117
118
119
120
121
122
123
# File 'lib/gonzui/monitor.rb', line 115

def initialize
  @count = 0
  @time_enter = 0
  @time_total = 0
  @time_subtotal = 0
  @times_enter = 0
  @times_total = Struct::Tms.new(0, 0, 0, 0)
  @times_subtotal = Struct::Tms.new(0, 0, 0, 0)
end