Package edu.umd.cs.findbugs.log
Class Profiler.Profile
java.lang.Object
edu.umd.cs.findbugs.log.Profiler.Profile
- All Implemented Interfaces:
XMLWriteable
- Enclosing class:
Profiler
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final String
(package private) Object
(package private) final AtomicLong
time in nanoseconds(package private) final AtomicInteger
(package private) final AtomicLong
(package private) final AtomicLong
time in nanoseconds -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
void
handleCall
(long nanoTime, Object context) void
Write this object to given XMLOutput.
-
Field Details
-
totalTime
time in nanoseconds -
totalCalls
-
maxTime
time in nanoseconds -
totalSquareMicroseconds
-
className
-
maxContext
Object maxContext
-
-
Constructor Details
-
Profile
- Parameters:
className
- non null full qualified class name
-
-
Method Details
-
handleCall
-
getTotalTime
public long getTotalTime() -
writeXML
Description copied from interface:XMLWriteable
Write this object to given XMLOutput.- Specified by:
writeXML
in interfaceXMLWriteable
- Parameters:
xmlOutput
-- Throws:
IOException
-