On Thu, 2006-07-06 at 13:37 +0200, Jan Kiszka wrote:
> c_time);
> +             seq_printf(seq, "%3u  %-6d %-10lu %-10lu %-4lu  %.8lx  %12llu"
> +                        "  %s\n",
>                          p->cpu, p->pid, p->ssw, p->csw, p->pf, p->status,
> -                        p->name);
> +                        xnarch_ulldiv(exec_time, 1000, NULL), p->name);

xntimer_get_rawclock() returns TSC or jiffies, depending on the current
aperiodic/periodic mode; what we need is something like
xnarch_ulldiv(xnpod_ticks2ns(exec_time), ...)

-- 
Philippe.



_______________________________________________
Xenomai-core mailing list
Xenomai-core@gna.org
https://mail.gna.org/listinfo/xenomai-core

Reply via email to