#include <execution_info.g.hh>
Inheritance diagram for lestes::md::instructions::execution_info:

Public Member Functions | |
| ulint | etime_get () const |
| The method etime_get returns the value of the field execution_info::etime. | |
| void | etime_set (ulint) |
| The method etime_set sets the field execution_info::etime to the given value. | |
| virtual ptr< reflection_list > | reflection_get () const |
| for purposes of dumping | |
| virtual ptr< field_list_list > | field_values_get () const |
| for purposes of dumping | |
Static Public Member Functions | |
| static ptr< execution_info > | create (ulint a__execution_info__etime) |
| First generated factory method for class execution_info. | |
Protected Member Functions | |
| execution_info (ulint a__execution_info__etime) | |
| Generated constructor for class execution_info. | |
| virtual void | gc_mark () |
| Marking routine for class execution_info. | |
Private Attributes | |
| ulint | etime |
| Execution time of the instruction in tenths of processor cycle. | |
Static Private Attributes | |
| static ptr< reflection_list > | reflection = reflection |
Definition at line 23 of file execution_info.g.hh.
| lestes::md::instructions::execution_info::execution_info | ( | ulint | a__execution_info__etime | ) | [protected] |
Generated constructor for class execution_info.
Generated constructor for class execution_info.
Definition at line 53 of file execution_info.g.cc.
Referenced by create().
00054 : ::lestes::std::object(), etime(a__execution_info__etime) 00055 {}
| ulint lestes::md::instructions::execution_info::etime_get | ( | ) | const |
The method etime_get returns the value of the field execution_info::etime.
Definition at line 26 of file execution_info.g.cc.
References etime.
00027 { 00028 return etime; 00029 }
| void lestes::md::instructions::execution_info::etime_set | ( | ulint | x | ) |
The method etime_set sets the field execution_info::etime to the given value.
| [in] | x | The new value to set execution_info::etime to. |
Definition at line 35 of file execution_info.g.cc.
References etime.
00036 { 00037 execution_info::etime = x; 00038 }
| ptr< execution_info > lestes::md::instructions::execution_info::create | ( | ulint | a__execution_info__etime | ) | [static] |
First generated factory method for class execution_info.
This factory method for class execution_info takes values of all fields as arguments.
Definition at line 44 of file execution_info.g.cc.
References execution_info().
00045 { 00046 return ptr< execution_info > ( new execution_info(a__execution_info__etime) ); 00047 }
| ptr< object::reflection_list > lestes::md::instructions::execution_info::reflection_get | ( | ) | const [virtual] |
for purposes of dumping
Reimplemented from lestes::std::object.
Definition at line 57 of file execution_info.g.cc.
References lestes::std::list< T >::create(), reflection, and lestes::std::object::reflection_get().
00058 { 00059 if (!reflection) { 00060 typedef class_reflection::field_metadata md; 00061 typedef class_reflection::field_metadata_list mdlist; 00062 ptr<mdlist> mdl = mdlist::create(); 00063 mdl->push_back( md::create( "etime", "ulint" ) ); 00064 reflection = reflection_list::create( ::lestes::std::object::reflection_get() ); 00065 reflection->push_back( class_reflection::create( "execution_info", mdl ) ); 00066 } 00067 return reflection; 00068 }
| ptr< object::field_list_list > lestes::md::instructions::execution_info::field_values_get | ( | ) | const [virtual] |
for purposes of dumping
Reimplemented from lestes::std::object.
Definition at line 70 of file execution_info.g.cc.
References lestes::std::list< T >::create(), and lestes::std::object::field_values_get().
00071 { 00072 ptr < field_list_list > result = ::lestes::std::object::field_values_get(); 00073 result->push_back( value_list::create() ); 00074 result->back()->push_back( objectize< ulint > ::create( this->etime ) ); 00075 return result; 00076 }
| void lestes::md::instructions::execution_info::gc_mark | ( | void | ) | [protected, virtual] |
Marking routine for class execution_info.
Marking routine is used for garbage collection.
Reimplemented from lestes::std::mem::keystone.
Definition at line 83 of file execution_info.g.cc.
References lestes::std::mem::keystone::gc_mark().
00084 { 00085 ::lestes::std::object::gc_mark(); 00086 }
ulint lestes::md::instructions::execution_info::etime [private] |
Execution time of the instruction in tenths of processor cycle.
Definition at line 53 of file execution_info.g.hh.
Referenced by etime_get(), and etime_set().
ptr< object::reflection_list > lestes::md::instructions::execution_info::reflection = reflection [static, private] |
Reimplemented from lestes::std::object.
Definition at line 54 of file execution_info.g.hh.
Referenced by reflection_get().
1.5.1-20070107