1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-25 18:05:33 +02:00

Added in commented out timing code for the completion parser.

This commit is contained in:
Doug Schaefer 2004-07-19 17:35:51 +00:00
parent 1b2ac0d808
commit 9290f8c77d

View file

@ -55,7 +55,10 @@ public class CompletionParser extends ContextualParser implements IParser {
*/
public IASTCompletionNode parse(int offset) {
scanner.setOffsetBoundary(offset);
//long startTime = System.currentTimeMillis();
translationUnit();
//long stopTime = System.currentTimeMillis();
//System.out.println("Completion Parse time: " + (stopTime - startTime) + "ms");
return new ASTCompletionNode( getCompletionKind(), getCompletionScope(), getCompletionContext(), getCompletionPrefix(), reconcileKeywords( getKeywordSet(), getCompletionPrefix() ), getCompletionFunctionName(), getParameterListExpression() );
}