Converting Cilkview data to seconds

Converting Cilkview data to seconds

Hey folks,

I'm working with a system that needs the work and span of the programs I'm running in seconds and nanoseconds to run properly, and running Cilkview on them gives me work and span in processor instructions. Does anyone know of a way to convert that data from instructions to a unit of time?



3 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

Instructions are taken as a rough stand-in for time because they're easy to count with our Pin-based tool. There's no easy way to convert from instructions to time on an x86 because each instruction takes a different number of cycles.


   - Barry

Ah, I see. Would that also mean there's no way to find the total number of cycles used by the program, or perhaps the average number of cycles per instruction?

Also, thanks for the prompt response!


Leave a Comment

Please sign in to add a comment. Not a member? Join today