Home
last modified time | relevance | path

Searched refs:cpus (Results 1 – 7 of 7) sorted by relevance

/l4re-core-master/l4sys/include/
A Dscheduler.h113 l4_sched_cpu_set_t *cpus) L4_NOTHROW;
120 l4_sched_cpu_set_t *cpus, l4_utcb_t *utcb) L4_NOTHROW;
168 l4_scheduler_idle_time(l4_cap_idx_t scheduler, l4_sched_cpu_set_t const *cpus,
240 l4_sched_cpu_set_t *cpus, l4_utcb_t *utcb) L4_NOTHROW in l4_scheduler_info_u() argument
246 m->mr[1] = cpus->gran_offset; in l4_scheduler_info_u()
253 cpus->map = m->mr[0]; in l4_scheduler_info_u()
285 v->mr[1] = cpus->gran_offset; in l4_scheduler_idle_time_u()
286 v->mr[2] = cpus->map; in l4_scheduler_idle_time_u()
317 l4_sched_cpu_set_t *cpus) L4_NOTHROW in l4_scheduler_info() argument
319 return l4_scheduler_info_u(scheduler, cpu_max, cpus, l4_utcb()); in l4_scheduler_info()
[all …]
A Dscheduler66 * \param[in,out] cpus \a cpus.offset is first CPU of interest.
67 * \a cpus.granularity (see l4_sched_cpu_set_t).
68 * \a cpus.map Bitmap of online CPUs.
76 l4_msgtag_t info(l4_umword_t *cpu_max, l4_sched_cpu_set_t *cpus,
81 info_t::call(c(), cpus->gran_offset, &cpus->map, &max, utcb);
113 * \param cpus Set of CPUs to query. Only the idle time of the first
114 * selected CPU in `cpus.map` is queried.
121 * CPU in `cpus.map`. The idle time is the accumulated time a CPU has spent in
137 l4_msgtag_t, idle_time, (l4_sched_cpu_set_t const &cpus,
/l4re-core-master/libkproxy/include/
A Dscheduler_svr35 virtual int info(l4_umword_t *cpu_max, l4_sched_cpu_set_t *cpus) = 0;
40 virtual int idle_time(l4_sched_cpu_set_t const &cpus,
57 l4_sched_cpu_set_t cpus;
58 cpus.gran_offset = gran_offset;
59 cpus.map = 0;
61 int ret = this_svr()->info(&cpu_max, &cpus);
62 map = cpus.map;
69 return this_svr()->idle_time(cpus, us);
105 int info(l4_umword_t *cpu_max, l4_sched_cpu_set_t *cpus)
106 { return _sched->info(cpu_max, cpus); }
[all …]
/l4re-core-master/moe/server/src/
A Dsched_proxy.cc110 Sched_proxy::info(l4_umword_t *cpu_max, l4_sched_cpu_set_t *cpus) in info() argument
113 unsigned char g = cpus->granularity() & (sizeof(l4_umword_t) * 8 - 1); in info()
114 l4_umword_t offs = cpus->offset() & (~0UL << g); in info()
118 cpus->map = 0; in info()
123 cpus->map |= 1UL << b; in info()
170 Sched_proxy::restrict_cpus(l4_umword_t cpus) in restrict_cpus() argument
172 _cpu_mask = l4_sched_cpu_set(0, 0, cpus); in restrict_cpus()
A Dsched_proxy.h39 int info(l4_umword_t *cpu_max, l4_sched_cpu_set_t *cpus);
43 int idle_time(l4_sched_cpu_set_t const &cpus, l4_kernel_clock_t &us);
52 void restrict_cpus(l4_umword_t cpus);
A Dalloc.cc189 cpus = args.pop_front(); in op_create() local
203 if (!cpus.is_of<void>() && cpus.is_of_int()) in op_create()
204 cpu_mask = cpus.value<l4_umword_t>(); in op_create()
/l4re-core-master/ned/server/src/
A Dapp_model.h113 l4_sched_cpu_set_t cpus = sp.affinity; in run_thread() local
114 l4_msgtag_t t = s->info(&cpu_max, &cpus); in run_thread()
118 if (!(cpus.map & sp.affinity.map)) in run_thread()

Completed in 9 milliseconds