| 828 | |
| 829 | #if kTargetCPUCount > 1 |
| 830 | static int32_t modInstrumentationCPU1(void *theIn) |
| 831 | { |
| 832 | int32_t result, total = (gCPUCounts[2] + gCPUCounts[3]); |
| 833 | if (!total) |
| 834 | return 0; |
| 835 | result = (100 * gCPUCounts[2]) / total; |
| 836 | gCPUCounts[2] = gCPUCounts[3] = 0; |
| 837 | return result; |
| 838 | } |
| 839 | #endif |
| 840 | #endif |
| 841 |