/gem5/src/cpu/kvm/ |
H A D | timer.hh | 50 * 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 D | timer.cc | 102 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 D | x86_cpu.hh | 64 Tick kvmRun(Tick ticks) override; 79 * @return Number of ticks executed 84 Tick kvmRunWrapper(Tick ticks);
|
H A D | base.cc | 729 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 D | base_cpu.hh | 58 Tick kvmRun(Tick ticks) override;
|
H A D | base_cpu.cc | 89 BaseArmKvmCPU::kvmRun(Tick ticks) argument 116 return BaseKvmCPU::kvmRun(ticks);
|
H A D | arm_cpu.hh | 92 Tick kvmRun(Tick ticks);
|
/gem5/util/ |
H A D | memtest-soak.py | 49 # 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 D | wavefront.cc | 557 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 D | condition_register_state.cc | 80 w->computeUnit->shader->ticks(pipeLen), 0);
|
H A D | dispatcher.cc | 237 schedule(&tickEvent, curTick() + shader->ticks(1)); 343 schedule(&tickEvent, curTick() + shader->ticks(1)); 351 schedule(&tickEvent, curTick() + shader->ticks(1));
|
H A D | shader.hh | 79 // 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 D | time.cc | 58 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 D | t1000-simple-atomic.py | 59 m5.ticks.setGlobalFrequency('2GHz')
|
H A D | checkpoint.py | 77 e = m5.simulate(m5.ticks.fromSeconds(interval))
|
H A D | switcheroo.py | 118 period = m5.ticks.fromSeconds(1.0 / freq)
|
/gem5/configs/learning_gem5/part3/ |
H A D | ruby_test.py | 76 m5.ticks.setGlobalFrequency('1ns')
|
/gem5/util/stats/ |
H A D | stats.py | 189 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 D | db.py | 148 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 D | mem_impl.hh | 244 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 D | timer_a9global.hh | 123 * 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 D | fs_power.py | 130 m5.stats.periodicStatDump(m5.ticks.fromSeconds(0.1E-3))
|
/gem5/src/python/m5/ |
H A D | params.py | 75 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 D | ruby_direct_test.py | 128 m5.ticks.setGlobalFrequency('1ns')
|
H A D | ruby_random_test.py | 156 m5.ticks.setGlobalFrequency('1ns')
|