Searched refs:time_constant (Results 1 – 3 of 3) sorted by relevance
/external/iproute2/misc/ |
D | rtacct.c | 41 int time_constant; variable 312 if (interval >= time_constant) { in update_db() 366 scan_interval/1000, time_constant/1000); in server_loop() 459 if (sscanf(optarg, "%d", &time_constant) != 1 || in main() 460 time_constant <= 0) { in main() 507 if (time_constant == 0) in main() 508 time_constant = 60; in main() 509 time_constant *= 1000; in main() 510 W = 1 - 1/exp(log(10)*(double)scan_interval/time_constant); in main()
|
D | nstat.c | 43 int time_constant; variable 427 if (interval >= time_constant) { in update_db() 464 getpid(), (unsigned long)random(), scan_interval/1000, time_constant/1000); in server_loop() 588 if (sscanf(optarg, "%d", &time_constant) != 1 || in main() 589 time_constant <= 0) { in main() 619 if (time_constant == 0) in main() 620 time_constant = 60; in main() 621 time_constant *= 1000; in main() 622 W = 1 - 1/exp(log(10)*(double)scan_interval/time_constant); in main()
|
D | ifstat.c | 46 int time_constant; variable 640 if (interval >= time_constant) { in update_db() 678 getpid(), (unsigned long)random(), scan_interval/1000, time_constant/1000); in server_loop() 863 time_constant = atoi(optarg); in main() 864 if (time_constant <= 0) { in main() 898 if (time_constant == 0) in main() 899 time_constant = 60; in main() 900 time_constant *= 1000; in main() 901 W = 1 - 1/exp(log(10)*(double)scan_interval/time_constant); in main()
|