public static Step step ( String stepName ) { Root root = PROFILER_STEPS . get ( ) ; if ( root != null ) { Profile data = new Profile ( root . nextId ( ) , stepName ) ; return new Step ( root , data ) ; } else { return new Step ( null , null ) ; } }
Start a profiling step .