summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
d803bfc)
Specify that this example targets only synchronized cycle counters.
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
description block, e.g.:
clock {
description block, e.g.:
clock {
+ name = cycle_counter_sync;
uuid = "62189bee-96dc-11e0-91a8-cfa3d89f3923";
uuid = "62189bee-96dc-11e0-91a8-cfa3d89f3923";
- description = "Local CPU cycle counter";
+ description = "Cycle counter synchronized across CPUs";
freq = 1000000000; /* frequency, in Hz */
/* precision in seconds is: 1000 * (1/freq) */
precision = 1000;
freq = 1000000000; /* frequency, in Hz */
/* precision in seconds is: 1000 * (1/freq) */
precision = 1000;
typealias integer {
size = 64; align = 1; signed = false;
typealias integer {
size = 64; align = 1; signed = false;
- map = clock.cycle_counter.value;
+ map = clock.cycle_counter_sync.value;
} := uint64_ccnt_t;
Thirdly, stream declarations can reference the clock they use as a
} := uint64_ccnt_t;
Thirdly, stream declarations can reference the clock they use as a