public void processStackCall ( Op op , long timeStart ) { //StackTraceElement stack[] = Thread.currentThread().getStackTrace(); long timeSpent = ( System . nanoTime ( ) - timeStart ) / 1000 ; /* basically we want to unroll stack trace for few levels ABOVE nd4j classes and update invocations list for last few levels, to keep that stat on few levels */ methodsAggregator . incrementCount ( timeSpent ) ; }
This method builds