mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-20 08:40:16 +00:00
Add a "timing test" CLI command. It opens a timer and configures it for
50 ticks per second, and then counts to see how many ticks it actually gets in a second. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@122926 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -3306,6 +3306,11 @@ int main(int argc, char *argv[])
|
||||
|
||||
ast_autoservice_init();
|
||||
|
||||
if (ast_timing_init()) {
|
||||
printf("%s", term_quit());
|
||||
exit(1);
|
||||
}
|
||||
|
||||
if (load_modules(1)) { /* Load modules, pre-load only */
|
||||
printf("%s", term_quit());
|
||||
exit(1);
|
||||
|
||||
Reference in New Issue
Block a user