Changeset 80d23bb for examples/rate
- Timestamp:
- 02/21/14 10:47:23 (8 years ago)
- Branches:
- 4.0.1-hotfixes, cachetimestamps, develop, dpdk-ndag, etsilive, getfragoff, help, libtrace4, master, ndag_format, pfring, rc-4.0.1, rc-4.0.2, rc-4.0.3, rc-4.0.4, ringdecrementfix, ringperformance, ringtimestampfixes
- Children:
- 755855a
- Parents:
- 47e927a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
examples/rate/rate-dir.c
r0f42351 r80d23bb 76 76 77 77 78 static int32_t smoothed(int32_t smoothed, int32_t instant, int32_talpha) {78 static int32_t smoothed(int32_t smoothed, int32_t instant, double alpha) { 79 79 return alpha * smoothed + (1-alpha) * instant; 80 80 }
Note: See TracChangeset
for help on using the changeset viewer.