Go to the source code of this file.
Functions | |
double | calc_percent (double amt, double total) |
Definition in file util_math.h.
|
Calculate the percentage of something. If the total is <= 0, we return 0.
Definition at line 24 of file util_math.c. Referenced by DisplayFlowConfig(), flowcache_stats(), FlowPSOutputConfig(), scoreboard_stats(), server_stats(), and ut_stats(). |