1

I am having a Graphics application using GL API written in c++ and using openGL compiler to compile it.

i am looking ways how can i profile the application along with compiler ( i am having access to compiler code too which i can change for my usage and is in C++).

i am mainly looking for ways i can profile related to compilation , how much time it was taken by compiler functions while compiling C++ application.

i had tried using timer API but if there is some profiling tool like gprof in android which i can use it will be easy for me.

i read about Traveview but i think its meant for mainly java application.

any suggestion will be highly use to me.

amogh
  • 11
  • 2
  • What exactly do you want to measure? Compile time, or your app's run time (in particular function)? Why would you need to modify your compiler for this? – Pointer Null Oct 04 '11 at 05:09
  • i am working on writing the GL compiler that's why need to know the performance of compiler. i want to measure mainly compile time ( time in between compiler functions ) so that i can optimize compiler better. – amogh Oct 04 '11 at 14:01
  • Change your tags, it's not too much of Android in this. – Pointer Null Oct 04 '11 at 14:09

1 Answers1

0

If you want to make your app run faster, and you have source code and can run it under a debugger, you can use this technique.

If you want the compiler to run faster, and you have source code and can run it under a debugger, you can use the same technique.

If you had gprof, you could use it, but you would be disappointed, for these reasons.

Community
  • 1
  • 1
Mike Dunlavey
  • 40,059
  • 14
  • 91
  • 135