Displaying 3 results from an estimated 3 matches for "sched_getcpu".
2015 Nov 19
2
Get timestamp and processor ID in the IR
Hi Hal,
Thanks for the pointer. Is it possible to get the processor ID on X86
architecture? There is a library call in linux, sched_getcpu(), to the ID.
Also, is it possible to get the program counter in the IR?
Best,
Zhi
On Thu, Nov 19, 2015 at 1:33 PM, Hal Finkel <hfinkel at anl.gov> wrote:
> Hi Zhi,
>
> There is no standard (architecture-independent) way to get the processor
> id. We do have an intrinsic to ge...
2015 Nov 19
2
Get timestamp and processor ID in the IR
...November 19, 2015 3:48:02 PM
> > Subject: Re: [llvm-dev] Get timestamp and processor ID in the IR
> >
> >
> > Hi Hal,
> >
> >
> > Thanks for the pointer. Is it possible to get the processor ID on X86
> > architecture? There is a library call in linux, sched_getcpu(), to
> > the ID.
> >
>
> What exactly do you mean by "processor ID"?
>
> -Hal
>
> >
> > Also, is it possible to get the program counter in the IR?
> >
> >
> > Best,
> > Zhi
> >
> >
> > On Thu, Nov 19, 2015...
2015 Nov 19
2
Get timestamp and processor ID in the IR
Hi,
I am wondering if it is possible to get the time-stamp and the processor ID
where an instruction is exectued in the IR? Thanks for your help in
advance:)
Best,
Zhi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20151119/dbbafb32/attachment.html>