• Home
  • Raw
  • Download

Lines Matching refs:gOptions

239 static Options gOptions;  variable
1049 FILE* dataFp = fopen(gOptions.traceFileName, "rb"); in dumpTrace()
1258 if (gOptions.outputHtml) anchor_close = "</a>"; in printInclusiveMethod()
1270 if (gOptions.outputHtml) { in printInclusiveMethod()
1353 if (gOptions.outputHtml) { in printExclusiveProfile()
1373 if (gOptions.outputHtml) { in printExclusiveProfile()
1378 if (gOptions.outputHtml) { in printExclusiveProfile()
1396 if (gOptions.outputHtml) { in printExclusiveProfile()
1412 if (gOptions.outputHtml) { in printExclusiveProfile()
1422 return (percentage < gOptions.threshold) ? 0 : 1; in checkThreshold()
1462 if (gOptions.keepDotFile) { in createInclusiveProfileGraphNew()
1463 snprintf(path, FILENAME_MAX, "%s.dot", gOptions.graphFileName); in createInclusiveProfileGraphNew()
1480 snprintf(command, 1024, "dot -Tpng -o \"%s\" \"%s\"", gOptions.graphFileName, path); in createInclusiveProfileGraphNew()
1484 if (!gOptions.keepDotFile) { in createInclusiveProfileGraphNew()
1495 if (gOptions.outputHtml) { in printInclusiveProfile()
1510 if (gOptions.outputHtml) { in printInclusiveProfile()
1528 if (gOptions.outputHtml) { in printInclusiveProfile()
1566 if (gOptions.outputHtml) { in printInclusiveProfile()
1669 if (gOptions.outputHtml) { in printClassProfiles()
1679 if (gOptions.outputHtml) { in printClassProfiles()
1687 if (gOptions.outputHtml) { in printClassProfiles()
1718 if (gOptions.outputHtml) { in printClassProfiles()
1738 if (gOptions.outputHtml) { in printClassProfiles()
1782 if (gOptions.outputHtml) { in printClassProfiles()
1816 if (gOptions.outputHtml) { in printClassProfiles()
1887 if (gOptions.outputHtml) { in printMethodProfiles()
1897 if (gOptions.outputHtml) { in printMethodProfiles()
1928 if (gOptions.outputHtml) { in printMethodProfiles()
1948 if (gOptions.outputHtml) { in printMethodProfiles()
1992 if (gOptions.outputHtml) { in printMethodProfiles()
2026 if (gOptions.outputHtml) { in printMethodProfiles()
2232 if (gOptions.outputHtml) { in profileTrace()
2233 printf(htmlHeader, gOptions.sortableUrl); in profileTrace()
2246 if (gOptions.outputHtml) { in profileTrace()
2316 if (gOptions.outputHtml) printf("<tr><td>\n"); in printMissingMethod()
2319 if (gOptions.outputHtml) printf("</td><td>"); in printMissingMethod()
2322 if (gOptions.outputHtml) printf("</td><td>"); in printMissingMethod()
2325 if (gOptions.outputHtml) printf("</td><td>"); in printMissingMethod()
2328 if (gOptions.outputHtml) printf("</td><td>\n"); in printMissingMethod()
2394 if (gOptions.outputHtml) { in createDiff()
2395 printf(htmlHeader, gOptions.sortableUrl); in createDiff()
2401 printf("Run 1: %s<br>\n", gOptions.diffFileName); in createDiff()
2402 printf("Run 2: %s<br>\n", gOptions.traceFileName); in createDiff()
2410 if (gOptions.outputHtml) printf("<tr><td>\n"); in createDiff()
2416 if (gOptions.outputHtml) printf("</td><td>"); in createDiff()
2419 if (gOptions.outputHtml) printf("</td><td>"); in createDiff()
2422 if (gOptions.outputHtml) printf("</td><td>"); in createDiff()
2425 if (gOptions.outputHtml) printf("</td><td>"); in createDiff()
2428 if (gOptions.outputHtml) printf("</td><td>\n"); in createDiff()
2431 if (gOptions.outputHtml) printf("</td><td>\n"); in createDiff()
2434 if (gOptions.outputHtml) printf("</td></tr>\n"); in createDiff()
2439 if (gOptions.outputHtml) printf("</table>\n"); in createDiff()
2441 if (gOptions.outputHtml) { in createDiff()
2442 printf(htmlHeader, gOptions.sortableUrl); in createDiff()
2443 printf("Run 1: %s<br>\n", gOptions.diffFileName); in createDiff()
2444 printf("Run 2: %s<br>\n", gOptions.traceFileName); in createDiff()
2453 if (gOptions.outputHtml) printf("<tr><td>\n"); in createDiff()
2459 if (gOptions.outputHtml) printf("</td><td>"); in createDiff()
2462 if (gOptions.outputHtml) printf("</td><td>"); in createDiff()
2465 if (gOptions.outputHtml) printf("</td><td>"); in createDiff()
2468 if (gOptions.outputHtml) printf("</td><td>"); in createDiff()
2471 if (gOptions.outputHtml) printf("</td><td>\n"); in createDiff()
2474 if (gOptions.outputHtml) printf("</td><td>\n"); in createDiff()
2477 if (gOptions.outputHtml) printf("</td></tr>\n"); in createDiff()
2482 if (gOptions.outputHtml) { in createDiff()
2494 if (gOptions.outputHtml) { in createDiff()
2506 if (gOptions.outputHtml) printf("</body></html\n"); in createDiff()
2540 gOptions.diffFileName = optarg; in parseOptions()
2543 gOptions.graphFileName = optarg; in parseOptions()
2546 gOptions.keepDotFile = 1; in parseOptions()
2549 gOptions.outputHtml = 1; in parseOptions()
2552 gOptions.dump = 1; in parseOptions()
2555 gOptions.sortableUrl = optarg; in parseOptions()
2558 gOptions.threshold = atoi(optarg); in parseOptions()
2571 gOptions.threshold = -1; in main()
2576 gOptions.traceFileName = argv[optind]; in main()
2578 if (gOptions.threshold < 0 || 100 <= gOptions.threshold) { in main()
2579 gOptions.threshold = 20; in main()
2582 if (gOptions.dump) { in main()
2590 DataKeys* dataKeys = parseDataKeys(&data1, gOptions.traceFileName, &sumThreadTime); in main()
2592 fprintf(stderr, "Cannot read \"%s\".\n", gOptions.traceFileName); in main()
2596 if (gOptions.diffFileName != nullptr) { in main()
2599 DataKeys* d2 = parseDataKeys(&data2, gOptions.diffFileName, &sum2); in main()
2601 fprintf(stderr, "Cannot read \"%s\".\n", gOptions.diffFileName); in main()
2611 if (gOptions.graphFileName != nullptr) { in main()