Searched refs:resolution (Results 1 - 10 of 10) sorted by relevance

/gem5/src/dev/ps2/
H A Dmouse.cc53 status(0), resolution(4), sampleRate(100)
81 resolution = 4;
101 DPRINTF(PS2, "Setting mouse resolution.\n");
105 DPRINTF(PS2, "Mouse resolution set to %d.\n", data[1]);
106 resolution = data[1];
114 send(&resolution, sizeof(resolution));
140 resolution = 4;
158 SERIALIZE_SCALAR(resolution);
168 UNSERIALIZE_SCALAR(resolution);
[all...]
H A Dmouse.hh63 uint8_t resolution; member in class:PS2Mouse
/gem5/src/cpu/kvm/
H A Dtimer.cc71 * to calculate the resolution of some timers).
139 panic("PosixKvmTimer: Failed to get timer resolution\n");
145 // make sure that the actual resolution is strictly less than what
147 // arm(resolution) is called and the resulting time is 0 (which
148 // could happen if we truncate the results and the resolution is
150 const Tick resolution(ticksFromHostNs(res_ns) + 1);
153 // the resolution of the timer we use is 1ns (a few cycles on most
157 return std::max(resolution, min_cycles);
H A Dtimer.hh100 * Determine the resolution of the timer in ticks. This method is
106 Tick resolution() { function in class:BaseKvmTimer
136 * Calculate the timer resolution, used by resolution() which
166 /** Cached resolution */
181 * much lower resolution than the real-time clocks.
H A Dbase.cc772 if (ticks < runTimer->resolution()) {
774 ticks, runTimer->resolution());
775 ticks = runTimer->resolution();
/gem5/ext/systemc/src/sysc/kernel/
H A Dsc_time.cpp256 // Struct that holds the time resolution and default time unit.
273 // functions for accessing the time resolution and default time unit
318 volatile double resolution = v * time_values[tu]; local
319 if( resolution < 1.0 ) {
327 ( time_params->time_resolution / resolution );
335 time_params->time_resolution = resolution;
391 // must be larger than or equal to the time resolution
396 "value smaller than time resolution" );
/gem5/ext/systemc/src/sysc/datatypes/fx/
H A Dsc_fxnum.cpp472 double resolution = scfx_pow2( -fwl ); local
476 high = full_circle / 2.0 - resolution;
485 high = full_circle - resolution;
516 if( val > ( X - resolution ) )
565 val = -val - resolution;
576 val = -val - resolution;
587 val = -val - resolution;
593 if( val > ( X - resolution ) )
/gem5/src/systemc/dt/fx/
H A Dsc_fxnum.cc433 double resolution = scfx_pow2(-fwl); local
436 high = full_circle / 2.0 - resolution;
443 high = full_circle - resolution;
469 if (val > (X - resolution))
514 val = -val - resolution;
523 val = -val - resolution;
532 val = -val - resolution;
538 if (val > (X - resolution))
/gem5/src/systemc/core/
H A Dsc_time.cc382 double resolution = SimClock::Float::Hz; local
383 if (resolution == 0.0)
384 resolution = sc_gem5::TimeUnitScale[SC_PS];
385 if (defaultUnit < resolution) {
387 "value smaller than time resolution");
/gem5/ext/ply/ply/
H A Dyacc.py3243 for state, tok, resolution in lr.sr_conflicts:
3244 debuglog.warning("shift/reduce conflict for %s in state %d resolved as %s", tok, state, resolution)

Completed in 40 milliseconds