| Package | Description |
|---|---|
| org.nd4j.autodiff.listeners.profiler.comparison |
| Modifier and Type | Method and Description |
|---|---|
static ProfileAnalyzer.ProfileFormat |
ProfileAnalyzer.ProfileFormat.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProfileAnalyzer.ProfileFormat[] |
ProfileAnalyzer.ProfileFormat.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
ProfileAnalyzer.compareProfiles(@NonNull File file1,
@NonNull File file2,
@NonNull ProfileAnalyzer.ProfileFormat format1,
@NonNull ProfileAnalyzer.ProfileFormat format2)
Compare the specified profile files, sorted by profile 1 % of total time
|
static String |
ProfileAnalyzer.compareProfiles(@NonNull File file1,
@NonNull File file2,
@NonNull ProfileAnalyzer.ProfileFormat format1,
@NonNull ProfileAnalyzer.ProfileFormat format2)
Compare the specified profile files, sorted by profile 1 % of total time
|
static String |
ProfileAnalyzer.compareProfiles(@NonNull File file1,
@NonNull File file2,
@NonNull ProfileAnalyzer.ProfileFormat format1,
@NonNull ProfileAnalyzer.ProfileFormat format2,
boolean firstIsDir,
boolean secondIsDir,
String name1,
String name2,
ProfileAnalyzer.SortBy sortBy)
Compare the specified profile files or directory
|
static String |
ProfileAnalyzer.compareProfiles(@NonNull File file1,
@NonNull File file2,
@NonNull ProfileAnalyzer.ProfileFormat format1,
@NonNull ProfileAnalyzer.ProfileFormat format2,
boolean firstIsDir,
boolean secondIsDir,
String name1,
String name2,
ProfileAnalyzer.SortBy sortBy)
Compare the specified profile files or directory
|
static TraceEvent[] |
ProfileAnalyzer.getTraceEvents(File file,
ProfileAnalyzer.ProfileFormat profileFormat)
Load and return the TraceEvent object from the specified profile file
|
static TraceEvent[] |
ProfileAnalyzer.getTraceEvents(File file,
ProfileAnalyzer.ProfileFormat profileFormat,
boolean aggregateTFSubOps) |
static TraceEvent[] |
ProfileAnalyzer.getTraceEventsDir(File dir,
ProfileAnalyzer.ProfileFormat profileFormat)
Load, aggregate and return the TraceEvent object from all profiles in the specified directory
|
static void |
ProfileAnalyzer.summarizeProfile(File file,
ProfileAnalyzer.ProfileFormat profileFormat)
Summarize and print to stdout the specified profile file
|
static void |
ProfileAnalyzer.summarizeProfileDirectory(File dir,
ProfileAnalyzer.ProfileFormat profileFormat)
Aggregate, summarize and print to stdout all .json profile files in the specified directory (not recursive)
|
static String |
ProfileAnalyzer.summarizeProfileDirectoryStr(File dir,
ProfileAnalyzer.ProfileFormat profileFormat)
Aggregate, summarize and return as a String all .json profile files in the specified directory (not recursive)
|
static String |
ProfileAnalyzer.summarizeProfileStr(File file,
ProfileAnalyzer.ProfileFormat profileFormat)
Summarize and return as a string the specified profile file
|
Copyright © 2021. All rights reserved.