Changeset 262 for pjproject/trunk
- Timestamp:
- Mar 1, 2006 11:37:06 PM (19 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib-util/build/pjlib_util.dsp
r217 r262 42 42 # PROP Target_Dir "" 43 43 # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c 44 # ADD CPP /nologo /MD /W 3/GX /Zi /O2 /Ob2 /I "../include" /I "../../pjlib/include" /D "NDEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D PJ_WIN32=1 /D PJ_M_I386=1 /FR /YX /FD /c44 # ADD CPP /nologo /MD /W4 /GX /Zi /O2 /Ob2 /I "../include" /I "../../pjlib/include" /D "NDEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D PJ_WIN32=1 /D PJ_M_I386=1 /FR /YX /FD /c 45 45 # ADD BASE RSC /l 0x409 /d "NDEBUG" 46 46 # ADD RSC /l 0x409 /d "NDEBUG" … … 65 65 # PROP Target_Dir "" 66 66 # ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c 67 # ADD CPP /nologo /MTd /W 3/Gm /GX /ZI /Od /I "../include" /I "../../pjlib/include" /D "_DEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D PJ_WIN32=1 /D PJ_M_I386=1 /FR /YX /FD /GZ /c67 # ADD CPP /nologo /MTd /W4 /Gm /GX /ZI /Od /I "../include" /I "../../pjlib/include" /D "_DEBUG" /D "WIN32" /D "_MBCS" /D "_LIB" /D PJ_WIN32=1 /D PJ_M_I386=1 /FR /YX /FD /GZ /c 68 68 # ADD BASE RSC /l 0x409 /d "_DEBUG" 69 69 # ADD RSC /l 0x409 /d "_DEBUG" -
pjproject/trunk/pjsip-apps/build/pjsip_perf.dsp
r257 r262 43 43 # PROP Target_Dir "" 44 44 # ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c 45 # ADD CPP /nologo /MD /W 3/GX /O2 /I "../../pjsip/include" /I "../../pjmedia/include" /I "../../pjlib-util/include" /I "../../pjlib/include" /D "NDEBUG" /D PJ_WIN32=1 /D PJ_M_I386=1 /D "WIN32" /D "_CONSOLE" /D "_MBCS" /YX /FD /c45 # ADD CPP /nologo /MD /W4 /GX /O2 /I "../../pjsip/include" /I "../../pjmedia/include" /I "../../pjlib-util/include" /I "../../pjlib/include" /D "NDEBUG" /D PJ_WIN32=1 /D PJ_M_I386=1 /D "WIN32" /D "_CONSOLE" /D "_MBCS" /YX /FD /c 46 46 # ADD BASE RSC /l 0x409 /d "NDEBUG" 47 47 # ADD RSC /l 0x409 /d "NDEBUG" … … 67 67 # PROP Target_Dir "" 68 68 # ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c 69 # ADD CPP /nologo /MTd /W 3/Gm /GX /ZI /Od /I "../../pjsip/include" /I "../../pjmedia/include" /I "../../pjlib-util/include" /I "../../pjlib/include" /D "_DEBUG" /D PJ_WIN32=1 /D PJ_M_I386=1 /D "WIN32" /D "_CONSOLE" /D "_MBCS" /FR /YX /FD /GZ /c69 # ADD CPP /nologo /MTd /W4 /Gm /GX /ZI /Od /I "../../pjsip/include" /I "../../pjmedia/include" /I "../../pjlib-util/include" /I "../../pjlib/include" /D "_DEBUG" /D PJ_WIN32=1 /D PJ_M_I386=1 /D "WIN32" /D "_CONSOLE" /D "_MBCS" /FR /YX /FD /GZ /c 70 70 # ADD BASE RSC /l 0x409 /d "_DEBUG" 71 71 # ADD RSC /l 0x409 /d "_DEBUG" -
pjproject/trunk/pjsip-apps/src/pjsip-perf/main.c
r259 r262 21 21 #include <stdlib.h> /* atoi */ 22 22 23 #define THIS_FILE "main.c"23 //#define THIS_FILE "main.c" 24 24 25 25 pjsip_perf_settings settings; … … 40 40 pj_status_t status; 41 41 42 settings.stateless = 1;42 settings.stateless = 0; 43 43 settings.start_rate = 10; 44 44 settings.max_capacity = 64; … … 538 538 PJ_TIME_VAL_SUB(batch->spawned_time, batch->start_time); 539 539 540 PJ_LOG(3,(THIS_FILE, "%02d:%02d:%02d: %d tasks in %d.%ds (%d tasks/sec), " 541 "spawn=time=%d.%d", 542 (sess_elapsed.sec / 3600), 543 (sess_elapsed.sec % 3600) / 60, 544 (sess_elapsed.sec % 60), 545 batch->rate, 546 elapsed.sec, elapsed.msec, 547 batch->rate * 1000 / msec, 548 batch->spawned_time.sec, 549 batch->spawned_time.msec)); 540 if (batch->failed) { 541 PJ_LOG(2,(THIS_FILE, 542 "%02d:%02d:%02d: %d tasks in %d.%ds (%d tasks/sec), " 543 "spawn=time=%d.%d, FAILED=%d", 544 (sess_elapsed.sec / 3600), 545 (sess_elapsed.sec % 3600) / 60, 546 (sess_elapsed.sec % 60), 547 batch->rate, 548 elapsed.sec, elapsed.msec, 549 batch->rate * 1000 / msec, 550 batch->spawned_time.sec, 551 batch->spawned_time.msec, 552 batch->failed)); 553 } else { 554 PJ_LOG(3,(THIS_FILE, 555 "%02d:%02d:%02d: %d tasks in %d.%ds (%d tasks/sec), " 556 "spawn=time=%d.%d", 557 (sess_elapsed.sec / 3600), 558 (sess_elapsed.sec % 3600) / 60, 559 (sess_elapsed.sec % 60), 560 batch->rate, 561 elapsed.sec, elapsed.msec, 562 batch->rate * 1000 / msec, 563 batch->spawned_time.sec, 564 batch->spawned_time.msec)); 565 } 550 566 551 567 if (!settings.session->stopping) { … … 624 640 625 641 /// 642 #if 0 626 643 elapsed = batch->spawned_time; 627 644 PJ_TIME_VAL_SUB(elapsed, batch->start_time); 628 645 PJ_LOG(2,(THIS_FILE, "%d requests sent in %d ms", batch->started, 629 646 PJ_TIME_VAL_MSEC(elapsed))); 647 #endif 630 648 631 649 sess->total_created += batch->started;
Note: See TracChangeset
for help on using the changeset viewer.