Searched refs:ticks (Results 1 - 25 of 54) sorted by relevance

123

/gem5/src/cpu/kvm/
H A Dtimer.hh50 * simulation ticks. The timer allows scaling of the host time to take
79 * Arm the timer so that it fires after a certain number of ticks.
82 * simulation ticks and virtualized time using any method it
88 * @param ticks Number of ticks until the timer fires
90 virtual void arm(Tick ticks) = 0;
100 * Determine the resolution of the timer in ticks. This method is
101 * mainly used to determine the smallest number of ticks the timer
104 * @return Minimum number of ticks the timer can resolve
117 * @return Host cycles executed in VM converted to simulation ticks
148 hostNs(Tick ticks) argument
158 hostCycles(Tick ticks) argument
[all...]
H A Dtimer.cc102 PosixKvmTimer::arm(Tick ticks) argument
109 ts.it_value.tv_sec = hostNs(ticks) / 1000000000ULL;
110 ts.it_value.tv_nsec = hostNs(ticks) % 1000000000ULL;
114 DPRINTF(KvmTimer, "Arming POSIX timer: %i ticks (%is%ins)\n",
115 ticks, ts.it_value.tv_sec, ts.it_value.tv_nsec);
174 PerfKvmTimer::arm(Tick ticks) argument
176 hwOverflow.period(hostCycles(ticks));
H A Dx86_cpu.hh64 Tick kvmRun(Tick ticks) override;
79 * @return Number of ticks executed
84 Tick kvmRunWrapper(Tick ticks);
H A Dbase.cc729 BaseKvmCPU::kvmRun(Tick ticks) argument
735 DPRINTF(KvmRun, "KVM: Executing for %i ticks\n", ticks);
737 if (ticks == 0) {
738 // Settings ticks == 0 is a special case which causes an entry
772 if (ticks < runTimer->resolution()) {
774 ticks, runTimer->resolution());
775 ticks = runTimer->resolution();
787 runTimer->arm(ticks);
817 "(%i ticks, si
1009 Tick ticks = handleKvmExitIO(); local
1037 Tick ticks = doMMIOAccess(_kvmRun->mmio.phys_addr, _kvmRun->mmio.data, local
[all...]
/gem5/src/arch/arm/kvm/
H A Dbase_cpu.hh58 Tick kvmRun(Tick ticks) override;
H A Dbase_cpu.cc89 BaseArmKvmCPU::kvmRun(Tick ticks) argument
116 return BaseKvmCPU::kvmRun(ticks);
H A Darm_cpu.hh92 Tick kvmRun(Tick ticks);
/gem5/util/
H A Dmemtest-soak.py49 # of ticks. Both the iteration count and the ticks for each run can be
53 parser.add_option('-t', '--ticks', type='int', default=100000000000)
65 '-r', '-m %d' % (options.ticks)])
/gem5/src/gpu-compute/
H A Dwavefront.cc557 ticks(computeUnit->spBypassLength()));
560 ticks(computeUnit->issuePeriod));
563 ticks(computeUnit->issuePeriod));
570 preset(computeUnit->shader->ticks(4));
572 preset(computeUnit->shader->ticks(computeUnit->issuePeriod));
575 preset(computeUnit->shader->ticks(4));
577 preset(computeUnit->shader->ticks(computeUnit->issuePeriod));
585 preset(computeUnit->shader->ticks(8));
587 preset(computeUnit->shader->ticks(computeUnit->issuePeriod));
590 preset(computeUnit->shader->ticks(
[all...]
H A Dcondition_register_state.cc80 w->computeUnit->shader->ticks(pipeLen), 0);
H A Ddispatcher.cc237 schedule(&tickEvent, curTick() + shader->ticks(1));
343 schedule(&tickEvent, curTick() + shader->ticks(1));
351 schedule(&tickEvent, curTick() + shader->ticks(1));
H A Dshader.hh79 // Shader's clock period in terms of number of ticks of curTime,
88 // Simulation ticks and shader clocks.
91 Tick ticks(int numCycles) const { return (Tick)clock * numCycles; } function in class:Shader
/gem5/src/base/
H A Dtime.cc58 Time::setTick(Tick ticks) argument
60 uint64_t secs = ticks / SimClock::Frequency;
61 ticks -= secs * SimClock::Frequency;
62 uint64_t nsecs = static_cast<uint64_t>(ticks * SimClock::Float::GHz);
/gem5/tests/configs/
H A Dt1000-simple-atomic.py59 m5.ticks.setGlobalFrequency('2GHz')
H A Dcheckpoint.py77 e = m5.simulate(m5.ticks.fromSeconds(interval))
H A Dswitcheroo.py118 period = m5.ticks.fromSeconds(1.0 / freq)
/gem5/configs/learning_gem5/part3/
H A Druby_test.py76 m5.ticks.setGlobalFrequency('1ns')
/gem5/util/stats/
H A Dstats.py189 source.ticks = runTicks
203 #loop through all the various ticks for each run
205 source.ticks = tick
209 source.ticks = tick
214 source.ticks = tick
247 if options.ticks:
249 print 'only displaying sample %s' % options.ticks
250 source.ticks = [ int(x) for x in options.ticks.split() ]
294 if command == 'ticks'
[all...]
H A Ddb.py148 self.ticks = None
346 def query(self, op, stat, ticks, group=False):
368 if ticks != None and len(ticks):
369 val = ' or '.join([ 'dt_tick=%d' % s for s in ticks ])
384 def avg(self, stat, ticks):
390 def stdev(self, stat, ticks):
407 def data(self, stat, ticks=None):
408 if ticks is None:
409 ticks
[all...]
/gem5/src/arch/hsail/insts/
H A Dmem_impl.hh244 m->latency.set(w->computeUnit->shader->ticks(1));
274 m->latency.set(w->computeUnit->shader->ticks(1));
298 m->latency.set(w->computeUnit->shader->ticks(24));
306 m->latency.set(w->computeUnit->shader->ticks(1));
322 m->latency.set(w->computeUnit->shader->ticks(1));
423 m->latency.set(w->computeUnit->shader->ticks(1));
451 m->latency.set(w->computeUnit->shader->ticks(1));
470 m->latency.set(w->computeUnit->shader->ticks(24));
478 m->latency.set(w->computeUnit->shader->ticks(1));
591 m->latency.set(w->computeUnit->shader->ticks(6
[all...]
/gem5/src/dev/arm/
H A Dtimer_a9global.hh123 * Convert a number of ticks into the time counter format
124 * @param ticks number of ticks
126 uint64_t getTimeCounterFromTicks(Tick ticks);
/gem5/configs/example/arm/
H A Dfs_power.py130 m5.stats.periodicStatDump(m5.ticks.fromSeconds(0.1E-3))
/gem5/src/python/m5/
H A Dparams.py75 from . import ticks
1557 self.ticks = value.ticks
1560 self.ticks = value.ticks
1563 self.ticks = True
1566 self.ticks = False
1581 if self.ticks or self.value == 0:
1584 value = ticks.fromSeconds(self.value)
1590 # convert latency to ticks
[all...]
/gem5/configs/example/
H A Druby_direct_test.py128 m5.ticks.setGlobalFrequency('1ns')
H A Druby_random_test.py156 m5.ticks.setGlobalFrequency('1ns')

Completed in 38 milliseconds

123