Open nikhilgupta10 opened 7 years ago
nikhilgupta10 imported these comments from Sourceforge: The user dchassin does not exist anymore. Therefore assigning this to afisher1. "dchassin":,
"dchassin":Both individual class times and total class time become negative. These are done in two separate places using two separate methods. The first is in exec.c when synctime is used to calculate the total time in class syncs. Either class->profiler.clocks are negative (which they shouldn't be--see below) or global_threadcount is negative. (BTW, this problem does not happen when running single threaded.) The second is when individual classes dump their sync times by calculating the total time and dividing by that. Both % are printed negative but the individual clocks are printing positive, so total is the only possibility.
Because one total uses doubles and the other uses int64, the first test is to exclude overflow as a problem. I asked Matt to try changing otal\ in class.c/class_profiles() to double and report back. ,
"dchassin":- Status: new --> assigned
Milestone: Version 3.2 Stable --> Unscheduled ,
"dchassin":- Milestone: Unscheduled --> Version 4.0 RC1 ,
In Linux, profiler clock shows negative time.,