Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alvins82/java-mini-profiler-core
/ functions
Functions
31 in github.com/alvins82/java-mini-profiler-core
⨍
Functions
31
◇
Types & classes
7
↓ 2 callers
Method
get
(String key)
src/main/java/au/com/funkworks/jmp/interfaces/CacheProfilerService.java:29
↓ 2 callers
Method
getStart
Get when the step started (nanoseconds). @return When the step started.
src/main/java/au/com/funkworks/jmp/Profile.java:99
↓ 2 callers
Method
popData
Remove the top profile step from the stack. @return The top profile step.
src/main/java/au/com/funkworks/jmp/Root.java:64
↓ 2 callers
Method
setStart
Set when the step started (nanoseconds). @param start When the step started.
src/main/java/au/com/funkworks/jmp/Profile.java:109
↓ 1 callers
Method
addChild
Add a child step to this step. @param child The child to add.
src/main/java/au/com/funkworks/jmp/Profile.java:182
↓ 1 callers
Method
close
Stop the profiling step.
src/main/java/au/com/funkworks/jmp/Step.java:33
↓ 1 callers
Method
nextId
Generate the id for the next step. @return The next id.
src/main/java/au/com/funkworks/jmp/Root.java:40
↓ 1 callers
Method
pushData
Add a profile step to the stack. @param d The profile step to add
src/main/java/au/com/funkworks/jmp/Root.java:50
↓ 1 callers
Method
setDepth
Set the depth of the step in the profiling tree. @param depth The depth.
src/main/java/au/com/funkworks/jmp/Profile.java:81
↓ 1 callers
Method
setDuration
Set how long the step took (nanoseconds). @param duration The duration.
src/main/java/au/com/funkworks/jmp/Profile.java:119
↓ 1 callers
Method
setOffset
Set the step's offset from the start of profiling (nanoseconds). @param offset The offset.
src/main/java/au/com/funkworks/jmp/Profile.java:138
↓ 1 callers
Method
step
Start a profiling step. @param stepName The name of the step. @return A {@code Step} object whose {@link Step#close()} method should be
src/main/java/au/com/funkworks/jmp/MiniProfiler.java:81
Method
Profile
(int id, String name, String tag)
src/main/java/au/com/funkworks/jmp/Profile.java:49
Method
Root
Create the root of the profile - records the start time.
src/main/java/au/com/funkworks/jmp/Root.java:30
Method
Step
Create a step object. @param root The profile root. @param data The current step data.
src/main/java/au/com/funkworks/jmp/Step.java:23
Method
anyPublicMethod
()
src/main/java/au/com/funkworks/jmp/MiniProfilerAspect.java:32
Method
getChildren
Get the child steps of this step. @return The child steps.
src/main/java/au/com/funkworks/jmp/Profile.java:172
Method
getDepth
Get the depth of the step in the profiling tree. This is used in the UI to determine indentation. @return The depth.
src/main/java/au/com/funkworks/jmp/Profile.java:71
Method
getDuration
Get how long the step tool (nanoseconds). @return The duration.
src/main/java/au/com/funkworks/jmp/Profile.java:128
Method
getId
The id of the step. This is used in the UI to uniquely identify steps in-order. @return The id of the step.
src/main/java/au/com/funkworks/jmp/Profile.java:61
Method
getLoggedInUserEmail
()
src/main/java/au/com/funkworks/jmp/interfaces/UserProfilerService.java:28
Method
getName
Get the name of the step. @return The name.
src/main/java/au/com/funkworks/jmp/Profile.java:90
Method
getOffset
Get the step's offset from the start of profling (nanoseconds). @return The offset.
src/main/java/au/com/funkworks/jmp/Profile.java:147
Method
getSelf
Calculate the duration of this step, minus the duration of all the child steps. <p> In effect, returns the time spent <i>only</i> in this step. @retu
src/main/java/au/com/funkworks/jmp/Profile.java:159
Method
getTag
()
src/main/java/au/com/funkworks/jmp/Profile.java:186
Method
isUserAdmin
()
src/main/java/au/com/funkworks/jmp/interfaces/UserProfilerService.java:27
Method
isUserLoggedIn
()
src/main/java/au/com/funkworks/jmp/interfaces/UserProfilerService.java:26
Method
profiler
(ProceedingJoinPoint pjp, Profiler profiler)
src/main/java/au/com/funkworks/jmp/MiniProfilerAspect.java:36
Method
put
(String key, Map<String, Object> data)
src/main/java/au/com/funkworks/jmp/interfaces/CacheProfilerService.java:28
Method
start
Start the profiler.
src/main/java/au/com/funkworks/jmp/MiniProfiler.java:55
Method
stop
Stop the profiler. <p> This should be called in a {@code finally} block to avoid leaving data on the thread. @return The profiling data.
src/main/java/au/com/funkworks/jmp/MiniProfiler.java:67