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:
parent
1b2ac0d808
commit
9290f8c77d
1 changed files with 3 additions and 0 deletions
|
@ -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() );
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue