Changeset ad2cf04 in mainline


Ignore:
Timestamp:
2018-11-03T21:17:37Z (6 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ef1eab7
Parents:
c74b9de
Message:

Fix standard deviation formula (except for the missing sqrt).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/tester/ipc/ping_pong.c

    rc74b9de rad2cf04  
    127127        }
    128128
    129         double stddev = qd; // XXX sqrt
     129        double stddev = qd / (NUM_SAMPLES - 1); // XXX sqrt
    130130
    131131        TPRINTF("Average: %.0f rt/s Std.dev^2: %.0f rt/s Samples: %d\n",
Note: See TracChangeset for help on using the changeset viewer.