mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-05 15:25:49 +02:00
Minor adjustment to tracing.
Change-Id: I16910a0d8e3fb78ae9fc74fa3b0a87b0c72fc37a
This commit is contained in:
parent
a98b07b8d3
commit
68a8cf3205
1 changed files with 1 additions and 1 deletions
|
@ -685,7 +685,7 @@ public abstract class AbstractGNUSourceCodeParser implements ISourceCodeParser {
|
||||||
if (log.isTracing()) {
|
if (log.isTracing()) {
|
||||||
ITranslationUnit tu = ast.getOriginatingTranslationUnit();
|
ITranslationUnit tu = ast.getOriginatingTranslationUnit();
|
||||||
String name = tu == null ? "<unknown>" : tu.getElementName(); //$NON-NLS-1$
|
String name = tu == null ? "<unknown>" : tu.getElementName(); //$NON-NLS-1$
|
||||||
String message = String.format("Parsed %s: %d ms %s. Ambiguity resolution: %d ms", //$NON-NLS-1$
|
String message = String.format("Parsed %s: %d ms%s. Ambiguity resolution: %d ms", //$NON-NLS-1$
|
||||||
name, t1 - t0, parsePassed ? "" : " - parse failure", System.currentTimeMillis() - t1); //$NON-NLS-1$//$NON-NLS-2$
|
name, t1 - t0, parsePassed ? "" : " - parse failure", System.currentTimeMillis() - t1); //$NON-NLS-1$//$NON-NLS-2$
|
||||||
log.traceLog(message);
|
log.traceLog(message);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue