Changeset 32940 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c
- Timestamp:
- Oct 6, 2010 10:47:09 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c
r32420 r32940 25 25 #include <iprt/assert.h> 26 26 27 #ifdef VBOXCR_LOGFPS 28 #include <iprt/timer.h> 29 #endif 30 27 31 /** 28 32 * \mainpage CrServerLib … … 380 384 CRClient *pClient = NULL; 381 385 int32_t i; 386 #ifdef VBOXCR_LOGFPS 387 uint64_t tstart, tend; 388 #endif 382 389 383 390 /*crDebug("=>crServer: ClientWrite u32ClientID=%d", u32ClientID);*/ … … 395 402 396 403 if (!pClient->conn->vMajor) return VERR_NOT_SUPPORTED; 404 405 #ifdef VBOXCR_LOGFPS 406 tstart = RTTimeNanoTS(); 407 #endif 397 408 398 409 CRASSERT(pBuffer); … … 452 463 CRASSERT(!pClient->conn->allow_redir_ptr || crNetNumMessages(pClient->conn)==0); 453 464 465 #ifdef VBOXCR_LOGFPS 466 tend = RTTimeNanoTS(); 467 pClient->timeUsed += tend-tstart; 468 #endif 454 469 /*crDebug("<=crServer: ClientWrite u32ClientID=%d", u32ClientID);*/ 455 470
Note:
See TracChangeset
for help on using the changeset viewer.