mirror of
https://github.com/github/codeql.git
synced 2026-05-02 12:15:17 +02:00
Kotlin: Record compilation and extraction times
This commit is contained in:
@@ -70,6 +70,18 @@ class Compilation extends @compilation {
|
||||
*/
|
||||
string getArgument(int i) { compilation_args(this, i, result) }
|
||||
|
||||
/**
|
||||
* Gets the total amount of CPU time spent processing all the files in the
|
||||
* compiler.
|
||||
*/
|
||||
float getCompilerCpuSeconds() { compilation_compiler_times(this, result, _) }
|
||||
|
||||
/**
|
||||
* Gets the total amount of elapsed time while processing all the files in
|
||||
* the compiler.
|
||||
*/
|
||||
float getCompilerElapsedSeconds() { compilation_compiler_times(this, _, result) }
|
||||
|
||||
/**
|
||||
* Gets the total amount of CPU time spent processing all the files in the
|
||||
* front-end and extractor.
|
||||
|
||||
Reference in New Issue
Block a user