Changeset 3313
- Timestamp:
- Feb 20, 2013, 9:22:46 AM (12 years ago)
- Location:
- branches/Rappture 1.2/packages/vizservers
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Rappture 1.2/packages/vizservers/nanovis/nanovis.cpp
r3309 r3313 338 338 /* 339 339 * Session information: 340 * 1. Start date of session in seconds. 341 * 2. Process ID 342 * 3. Number of frames returned. 343 * 4. Number of bytes total returned (in frames). 344 * 5. Total elapsed time of all commands. 345 * 6. Total elapsed time of session. 346 * 7. Exit code of pymol server. 347 * 8. User time. 348 * 9. System time. 349 * 10. Maximum resident size. 340 * - Name of render server 341 * - Process ID 342 * - Hostname where server is running 343 * - Start date of session 344 * - Start date of session in seconds 345 * - Number of frames returned 346 * - Number of bytes total returned (in frames) 347 * - Number of commands received 348 * - Total elapsed time of all commands 349 * - Total elapsed time of session 350 * - Exit code of vizserver 351 * - User time 352 * - System time 353 * - User time of children 354 * - System time of children 350 355 */ 351 356 -
branches/Rappture 1.2/packages/vizservers/pymolproxy/pymolproxy2.c
r3309 r3313 624 624 /* 625 625 * Session information: 626 * 1. Start date of session in seconds. 627 * 2. Process ID 628 * 3. Number of frames returned. 629 * 4. Number of bytes total returned (in frames). 630 * 5. Total elapsed time of all commands. 631 * 6. Total elapsed time of session. 632 * 7. Exit code of pymol server. 633 * 8. User time. 634 * 9. System time. 635 * 10. Maximum resident size. 626 * - Name of render server 627 * - Process ID 628 * - Hostname where server is running 629 * - Start date of session 630 * - Start date of session in seconds 631 * - Number of frames returned 632 * - Number of bytes total returned (in frames) 633 * - Number of commands received 634 * - Total elapsed time of all commands 635 * - Total elapsed time of session 636 * - Exit code of vizserver 637 * - User time 638 * - System time 639 * - User time of children 640 * - System time of children 636 641 */ 637 642 … … 641 646 /* renderer */ 642 647 Tcl_DStringAppendElement(&ds, "renderer"); 643 Tcl_DStringAppendElement(&ds, " nanovis");648 Tcl_DStringAppendElement(&ds, "pymol"); 644 649 /* pid */ 645 650 Tcl_DStringAppendElement(&ds, "pid"); -
branches/Rappture 1.2/packages/vizservers/vtkvis/RpVtkRenderServer.cpp
r3312 r3313 273 273 /* 274 274 * Session information: 275 * 1. Start date of session in seconds. 276 * 2. Process ID 277 * 3. Number of frames returned. 278 * 4. Number of bytes total returned (in frames). 279 * 5. Total elapsed time of all commands. 280 * 6. Total elapsed time of session. 281 * 7. Exit code of vizserver. 282 * 8. User time. 283 * 9. System time. 284 * 10. Maximum resident size. 275 * - Name of render server 276 * - Process ID 277 * - Hostname where server is running 278 * - Start date of session 279 * - Start date of session in seconds 280 * - Number of data sets loaded from client 281 * - Number of data bytes total loaded from client 282 * - Number of frames returned 283 * - Number of bytes total returned (in frames) 284 * - Number of commands received 285 * - Total elapsed time of all commands 286 * - Total elapsed time of session 287 * - Exit code of vizserver 288 * - User time 289 * - System time 290 * - User time of children 291 * - System time of children 285 292 */ 286 293 … … 309 316 sprintf(buf, "%ld", g_stats.start.tv_sec); 310 317 Tcl_DStringAppendElement(&ds, buf); 318 /* num_data_sets */ 319 Tcl_DStringAppendElement(&ds, "num_data_sets"); 320 sprintf(buf, "%lu", (unsigned long int)g_stats.nDataSets); 321 Tcl_DStringAppendElement(&ds, buf); 322 /* data_set_bytes */ 323 Tcl_DStringAppendElement(&ds, "data_set_bytes"); 324 sprintf(buf, "%lu", (unsigned long int)g_stats.nDataBytes); 325 Tcl_DStringAppendElement(&ds, buf); 311 326 /* num_frames */ 312 327 Tcl_DStringAppendElement(&ds, "num_frames"); … … 315 330 /* frame_bytes */ 316 331 Tcl_DStringAppendElement(&ds, "frame_bytes"); 317 sprintf(buf, "%lu", (unsigned long int)g_stats.n Bytes);332 sprintf(buf, "%lu", (unsigned long int)g_stats.nFrameBytes); 318 333 Tcl_DStringAppendElement(&ds, buf); 319 334 /* num_commands */ … … 429 444 queueFrame(queue, imgData); 430 445 g_stats.nFrames++; 431 g_stats.n Bytes += imgData->GetDataSize() * imgData->GetDataTypeSize();446 g_stats.nFrameBytes += imgData->GetDataSize() * imgData->GetDataTypeSize(); 432 447 } else { 433 448 TRACE("No render required"); … … 532 547 writeFrame(g_fdOut, imgData); 533 548 g_stats.nFrames++; 534 g_stats.n Bytes += imgData->GetDataSize() * imgData->GetDataTypeSize();549 g_stats.nFrameBytes += imgData->GetDataSize() * imgData->GetDataTypeSize(); 535 550 } else { 536 551 TRACE("No render required"); -
branches/Rappture 1.2/packages/vizservers/vtkvis/RpVtkRenderServer.h
r3312 r3313 29 29 typedef struct { 30 30 pid_t pid; 31 size_t nDataSets; /**< # of data sets received */ 32 size_t nDataBytes; /**< # of bytes received as data sets */ 31 33 size_t nFrames; /**< # of frames sent to client. */ 32 size_t n Bytes;/**< # of bytes for all frames. */34 size_t nFrameBytes; /**< # of bytes for all frames. */ 33 35 size_t nCommands; /**< # of commands executed */ 34 36 double cmdTime; /**< Elasped time spend executing commands. */ -
branches/Rappture 1.2/packages/vizservers/vtkvis/RpVtkRendererCmd.cpp
r3312 r3313 4071 4071 g_renderer->addDataSet(name); 4072 4072 g_renderer->setData(name, data, nbytes); 4073 g_stats.nDataSets++; 4074 g_stats.nDataBytes += nbytes; 4073 4075 free(data); 4074 4076 return TCL_OK;
Note: See TracChangeset
for help on using the changeset viewer.