Generic profilers?

Discussion in 'C Programming' started by ssylee, Jan 27, 2009.

  1. ssylee

    ssylee Guest

    Inspired from the responses to my question at
    http://groups.google.com/group/comp.lang.c/browse_thread/thread/ac93b1b00269ef3d?q=#0a33195600597ac9
    , I'm wondering if the profiler would be dependent on how I'm building
    and running the application, as well as the operating system. I'm
    running the C/C++ file to be generated as a mex file, used by m-file
    in Matlab. However, I'm not sure if there are any generic profiler
    libraries where I can just insert profiler function calls between the
    function execution that I want to test out. It would be great for some
    feedback. I'm not sure if I have asked my question in the wrong place.
     
    ssylee, Jan 27, 2009
    #1
    1. Advertising

  2. ssylee

    Ian Collins Guest

    ssylee wrote:
    > Inspired from the responses to my question at
    > http://groups.google.com/group/comp.lang.c/browse_thread/thread/ac93b1b00269ef3d?q=#0a33195600597ac9
    > , I'm wondering if the profiler would be dependent on how I'm building
    > and running the application, as well as the operating system. I'm
    > running the C/C++ file to be generated as a mex file, used by m-file
    > in Matlab. However, I'm not sure if there are any generic profiler
    > libraries where I can just insert profiler function calls between the
    > function execution that I want to test out. It would be great for some
    > feedback. I'm not sure if I have asked my question in the wrong place.


    Profilers are compiler/platform specific. Some platforms require you to
    build with profiling enabled, others do not.

    --
    Ian Collins
     
    Ian Collins, Jan 27, 2009
    #2
    1. Advertising

  3. "ssylee" <> wrote in message
    news:...
    > Inspired from the responses to my question at
    > http://groups.google.com/group/comp.lang.c/browse_thread/thread/ac93b1b00269ef3d?q=#0a33195600597ac9
    > , I'm wondering if the profiler would be dependent on how I'm building
    > and running the application, as well as the operating system. I'm
    > running the C/C++ file to be generated as a mex file, used by m-file
    > in Matlab. However, I'm not sure if there are any generic profiler
    > libraries where I can just insert profiler function calls between the
    > function execution that I want to test out. It would be great for some
    > feedback. I'm not sure if I have asked my question in the wrong place.


    Hi ssylee. I think comp.compilers is the group you want.

    Bill
     
    Bill Cunningham, Jan 27, 2009
    #3
  4. ssylee

    ssylee Guest

    On Jan 27, 12:08 pm, "Bill Cunningham" <> wrote:
    > "ssylee" <> wrote in message
    >
    > news:...
    >
    > > Inspired from the responses to my question at
    > >http://groups.google.com/group/comp.lang.c/browse_thread/thread/ac93b...
    > > , I'm wondering if the profiler would be dependent on how I'm building
    > > and running the application, as well as the operating system. I'm
    > > running the C/C++ file to be generated as a mex file, used by m-file
    > > in Matlab. However, I'm not sure if there are any generic profiler
    > > libraries where I can just insert profiler function calls between the
    > > function execution that I want to test out. It would be great for some
    > > feedback. I'm not sure if I have asked my question in the wrong place.

    >
    >     Hi ssylee. I think comp.compilers is the group you want.
    >
    > Bill


    Thanks Bill. I'll post on that group then.
     
    ssylee, Jan 27, 2009
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. et

    Code profilers?

    et, Oct 25, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    388
    Jason Kester
    Oct 25, 2005
  2. xarax
    Replies:
    7
    Views:
    7,017
    Robert Olofsson
    Aug 13, 2003
  3. Murat Tasan
    Replies:
    1
    Views:
    8,076
    Chaitanya
    Feb 3, 2009
  4. Replies:
    2
    Views:
    448
  5. Replies:
    1
    Views:
    301
    Michael Hudson
    Jul 19, 2005
Loading...

Share This Page