- Timestamp:
- Feb 19, 2009, 5:31:47 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/IPs/systemC/processor/Morpheo/Behavioural/src/Stat_alloc_operand.cpp
r81 r110 4 4 namespace morpheo { 5 5 namespace behavioural { 6 7 #undef FUNCTION 8 #define FUNCTION "Stat::alloc_operand" 6 9 counter_t * Stat::alloc_operand (counter_type_t type, std::string varname, std::string unit, std::string description) 7 10 { 8 11 if (not is_valid_var (varname)) 9 throw(ERRORMORPHEO( "Stat::alloc_operand",_("Variable is not valid.")));12 throw(ERRORMORPHEO(FUNCTION,toString(_("<%s> : Variable \"%s\" is not valid."),_name_instance.c_str(),varname.c_str()))); 10 13 11 14 counter_t * counter = new counter_t;
Note: See TracChangeset
for help on using the changeset viewer.