Class: GenProf
- Inherits:
-
Object
- Object
- GenProf
- Includes:
- Wprof::Supports::StyleSupport
- Defined in:
- lib/wprof/gen_prof.rb
Instance Method Summary collapse
- #generate_profiling ⇒ Object
-
#initialize(event, rec_type) ⇒ GenProf
constructor
A new instance of GenProf.
Methods included from Wprof::Supports::StyleSupport
Constructor Details
#initialize(event, rec_type) ⇒ GenProf
Returns a new instance of GenProf.
4 5 6 7 8 9 10 |
# File 'lib/wprof/gen_prof.rb', line 4 def initialize(event, rec_type) @event = event @db_runtime = WProf::Config.get_value(:db_runtime) @async_report = WProf::Config.get_value(:async) @rec_type = rec_type generate_profiling end |
Instance Method Details
#generate_profiling ⇒ Object
12 13 14 15 16 |
# File 'lib/wprof/gen_prof.rb', line 12 def generate_profiling generate_common_params generate_custom_params deploy_reporter end |