internal helper to calculate the time of a node , inclusive of children concode_field_sep Deque<Integer> stack concode_elem_sep long rewriteTime concode_elem_sep ArrayList<ProfileBreakdown> timings concode_elem_sep ArrayList<ArrayList<Integer>> tree concode_elem_sep ArrayList<Integer> roots concode_elem_sep long rewriteScratch concode_elem_sep ArrayList<Query> queries concode_elem_sep int currentToken concode_field_sep ProfileBreakdown getQueryBreakdown concode_elem_sep long stopAndAddRewriteTime concode_elem_sep ProfileResult doGetQueryTree concode_elem_sep long getRewriteTime concode_elem_sep ProfileBreakdown addDependencyNode concode_elem_sep void updateParent concode_elem_sep List<ProfileResult> getQueryTree concode_elem_sep void startRewriteTime concode_elem_sep void pollLast
long function ( Map < String , Long > arg0 , List < ProfileResult > arg1 ) { long loc0 = 0 ; for ( long loc1 : arg0 . values ( ) ) { loc0 += loc1 ; } for ( ProfileResult loc1 : arg1 ) { loc0 += getNodeTime ( loc1 . getTimeBreakdown ( ) , loc1 . getProfiledChildren ( ) ) ; } return loc0 ; }