Coretime output may be used to:
Coretime is installed in the ENOVIA_INSTALL/bin/ARCH directory and can be run from a command line as follows: coretime [-method] [-time] [-noclones] [-session SESSIONID] ENOVIA.LOG where:
Coretime parses an ENOVIA.LOG file and calculates the milliseconds spent in each recognizable module. The recognizable modules are:
In the case of Program, MQLCommand and Checkpoint, the message from the start marker will be included in the timing summary. Coretime is a tool that aids in the analysis of verbose and MQL traces, although it is not required, since these traces are human readable text, as documented here as well as in the Programming Guide, "Program Object Coding Strategies" chapter. Sample Coretime Output13:07:45.590 t@20: 4101 milliseconds: ADK: invokeClass.bosInterface 13:07:50.701 t@26: 10 milliseconds: MQL: print policy "Part Quality Plan" select property[state_Active].value dump; 13:07:51.081 t@20: 10 milliseconds: ADK: invokeClass.bosInterface 13:07:51.081 t@20: 9 milliseconds: PGM: emxMailUtil The table below explains the fields in the output.
When coretime reports that a call did not complete (that is, elapsed time of -1 milliseconds:), you can then use the original trace file to troubleshoot. For example, for the following coretime output: 14:03:08.116 t@17: -1 milliseconds: expandSelect.bosBusinessObject Search original trace log for the timestamp (14:03:08.116), and then follow activity on that thread to find the expandSelect call with it's parameters: 14:03:08.116 VERB t@017 stateless dispatch for expandSelect.bosBusinessObject 14:03:08.116 VERB t@017 allocate context for session DwHyGBRDflOxOsO2HcYdA5Epv2kunV6ObF0UBzxc2B0uD4pDqh8T!167699317!1127221 234180:mx112722498309124663705:(__emxCustomExpand.java:1010) 14:03:08.126 VERB t@017 input params: id=53367.54932.31998.58101, relPattern=Approving Organization, typePattern=*, objectSelect length=1, relSelect length=0,getTo=0, getFrom=1, recurse=1, objWhereClause=, relWhere=(attribute[Organization Type] == "Franchise") The session id indicates the expandSelect originated from
the JSP page emxCustomExpand.jsp. The expandSelect was being executed
on the business object with ID For transactions that do not have explicit commit or abort calls, Coretime prepends a comment stating this. For example: ####### following start.bosContext has no commit or abort ####### session KqRZs0FZy66mv9fk5RRE9n3:mx11528214996531004958:(_testengchgECRDiscoverObjects.java:966) 19:59:31.494 t@265: 0 milliseconds: ADK: start.bosContext The session ID tells us that the missing transaction commit/abort is from JSP page testengchgECRDiscoverObjects.jsp. |