Hi!
I'm using the following code to log the variable momentum whenever its value changes at runtime:
------------------------------------------------------------------------------------------------------------------
int pd_counter_handle;
int counter_class;
const float boundaries[2]={0,50000};
.
.
.
VT_classdef( "Counters", &counter_class);
VT_countdef( "Pressure Development", counter_class, VT_COUNT_FLOAT|VT_COUNT_VALID_SAMPLE|VT_COUNT_ABSVAL, VT_ME, boundaries,"#",&pd_counter_handle);
.
.
.
if(prev_momentum != momentum)
{
prev_momentum = momentum;
printf("Momentum on Process %d is %f\n\r", me, momentum);
VT_countval(1, &pd_counter_handle, &momentum);
}
-------------------------------------------------------------------------------------------------------------------
The above printf(), outputs the following values:
Momentum on Process 0 is 27.242283
Momentum on Process 0 is 89.986145
Momentum on Process 0 is 168.204178
.
.
.
Momentum on Process 0 is 17109.033203
Momentum on Process 0 is 17178.119141
Momentum on Process 0 is 17230.960938
So I expected the same values to be logged, but as can be seen in the attached snapshot, ITAC doesn't even show the vertical number range! Could you please tell me what the problem may be?
Regards,
Farrokh


