Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#6 profile_mode is alway 1 in output file

closed
None
5
2002-03-12
2002-03-08
Anonymous
No

I ran a program fork()'ed 5 processes simulating the
dining philosophers and profiled it with libfc. The
summary shown on screen said the profiling mode
is "forks allowed / no threads" and I got 5
functioncheck.fc.#pid files. However, each of the
output file showed a profiling mode of 1
(FC_MODE_SINGLE). (I notice that the global int
fc_ctx_pmode was set to FC_MODE_SINGLE in file
fc_context.c and was not being update again.) My
question is that is the profiling data I collected are
performed under the fork mode?

Discussion

  • Yannick Perret
    Yannick Perret
    2002-03-11

    • assigned_to: nobody --> hexasoft
     
  • Yannick Perret
    Yannick Perret
    2002-03-11

    Logged In: YES
    user_id=146450

    Hum. Yes, it's a bug. By the way it is not really important.
    The data colected in the profile data files are correct.
    This flags is (at this time) only for information, to let
    the user know the mode used while generating this file.

    But it's a bug and I will correct it.
    Thank you.

    --
    hexasoft

     
  • Yannick Perret
    Yannick Perret
    2002-03-12

    • status: open --> closed