Ignore:
Timestamp:
Jan 28, 2015, 2:03:58 PM (10 years ago)
Author:
bird
Message:

Some more variable stats I added the other day (not in release builds).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/function.c

    r2702 r2758  
    20432043      size_t off;
    20442044      const struct floc *reading_file_saved = reading_file;
     2045#ifdef CONFIG_WITH_MAKE_STATS
     2046      unsigned long long uStartTick = CURRENT_CLOCK_TICK();
     2047      MAKE_STATS_2(v->cEvalVals++);
     2048#endif
    20452049
    20462050      /* Make a copy of the value to the variable buffer since
     
    20682072        pop_variable_scope ();
    20692073      restore_variable_buffer (buf, len);
     2074
     2075      MAKE_STATS_2(v->cTicksEvalVal += CURRENT_CLOCK_TICK() - uStartTick);
    20702076    }
    20712077
Note: See TracChangeset for help on using the changeset viewer.