| 499 | |
| 500 | |
| 501 | void display(void) |
| 502 | { |
| 503 | if(doStress) |
| 504 | { |
| 505 | fprintf(stderr, "-- Stress tests --\n"); |
| 506 | #ifndef _WIN32 |
| 507 | if(doShm) |
| 508 | { |
| 509 | FG(); nativeStress(1); |
| 510 | } |
| 511 | #endif |
| 512 | FG(); nativeStress(0); |
| 513 | fprintf(stderr, "\n"); |
| 514 | return; |
| 515 | } |
| 516 | |
| 517 | fprintf(stderr, "-- Performance tests --\n"); |
| 518 | #ifndef _WIN32 |
| 519 | if(doShm) |
| 520 | { |
| 521 | FG(); nativeWrite(1); |
| 522 | FG(); nativeRead(1); |
| 523 | } |
| 524 | #endif |
| 525 | FG(); nativeWrite(0); |
| 526 | FG(); nativeRead(0); |
| 527 | fprintf(stderr, "\n"); |
| 528 | } |
| 529 | |
| 530 | |
| 531 | #ifdef _WIN32 |
no test coverage detected