Searched refs:unit (Results 1 - 8 of 8) sorted by relevance

/gem5/src/systemc/tests/systemc/kernel/sc_time/test19/
H A Dtest19.cpp41 std::cout << ", t.unit=" << tp.unit_symbol()
47 sc_assert( tp.unit() == tu );
52 sc_assert( tp.unit() == sc_time_tuple(u).unit() );
57 sc_assert( tp.unit() == sc_time_tuple(u).unit() );
/gem5/util/minorview/
H A Dblobs.py127 def speech_bubble(cr, top_left, size, unit):
129 top left corner at Point(2.0 * unit, 2.0 * unit)"""
131 cr.arc(centre.x, centre.y, unit, angleFrom * math.pi,
135 cr.rel_line_to(unit * 2.0, unit)
137 local_arc(top_left + Point(size.x + unit * 2.0, unit * 2.0), -0.5, 0.0)
139 local_arc(top_left + Point(size.x + unit * 2.0, size.y + unit * 2.
[all...]
H A Dmodel.py506 def __init__(self, unit, time, pairs = {}):
507 # blob's unit name
508 self.unit = unit
514 # Non-MinorTrace debug printout for this unit at this time
559 for unit, events in self.unitEvents.iteritems():
560 self.unitEvents[unit] = []
565 if blob.unit not in self.unitNameToBlobs:
566 self.unitNameToBlobs[blob.unit] = []
568 self.unitNameToBlobs[blob.unit]
[all...]
H A Dview.py55 # A unit blob will appear at size blobSize inside a space of
123 blob.unit, self.time)
353 return self.model.find_unit_event_by_time(self.blob.unit,
474 print '**** Comments for', event.unit, \
493 event = self.model.find_unit_event_by_time(blob.unit,
/gem5/src/systemc/ext/core/
H A Dsc_time.hh124 // Normalized unit.
125 sc_time_unit unit() const { return _unit; } function in class:sc_core::sc_time_tuple
126 // Normalized unit symbol.
131 double to_double() const; // Relative to the normalized unit.
/gem5/src/systemc/core/
H A Dsc_time.cc79 sc_time::sc_time(double d, const char *unit) argument
83 if (strcmp(unit, sc_gem5::TimeUnitNames[tu]) == 0 ||
84 strcmp(unit, sc_gem5::TimeUnitConstantNames[tu]) == 0) {
90 SC_REPORT_ERROR(SC_ID_TIME_CONVERSION_FAILED_,"invalid unit given");
/gem5/ext/systemc/src/sysc/kernel/
H A Dsc_simcontext.h95 inline void sc_start( int duration, sc_time_unit unit, argument
98 sc_start( sc_time((double)duration,unit), p );
101 inline void sc_start( double duration, sc_time_unit unit, argument
104 sc_start( sc_time(duration,unit), p );
/gem5/ext/systemc/src/sysc/tracing/
H A Dsc_vcd_trace.cpp1709 double unit; member in struct:sc_core::SC_TIMESCALE_TO_TEXT
1736 if (timescale_unit == timescale_to_text[time_i].unit)
1947 // delta cycles with progressing time by one unit

Completed in 26 milliseconds