Ignore:
Timestamp:
Dec 7, 2009, 2:05:31 AM (11 years ago)
Author:
Sam Hocevar
Message:

Increase profiling timers' sliding mean accuracy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/caca_internals.h

    r4094 r4095  
    2525
    2626#if !defined(_DOXYGEN_SKIP_ME)
    27 #   define STAT_VALUES 20
     27#   define STAT_VALUES 32
    2828#   define EVENTBUF_LEN 10
    2929#   define MAX_DIRTY_COUNT 8
     
    149149struct caca_stat
    150150{
     151    int itable[STAT_VALUES];
     152    int64_t imean;
    151153    char *name;
    152     int imean, itable[STAT_VALUES];
    153154};
    154155
Note: See TracChangeset for help on using the changeset viewer.