Skip to content

Commit 0e7afb2

Browse files
authored
Merge pull request github#6643 from MathiasVP/add-frontend-and-extractor-diagnostic-query
C++: Add uninterpreted query for obtaining frontend and extraction time
2 parents 03db15a + a714966 commit 0e7afb2

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
/**
2+
* @name Sum of frontend and extractor time
3+
* @description The sum of elapsed frontend time, and the sum of elapsed extractor time.
4+
* This query is for internal use only and may change without notice.
5+
* @kind table
6+
* @id cpp/frontend-and-extractor-time
7+
*/
8+
9+
import cpp
10+
11+
select sum(Compilation c, float seconds | compilation_time(c, _, 2, seconds) | seconds) as sum_frontend_elapsed_seconds,
12+
sum(Compilation c, float seconds | compilation_time(c, _, 4, seconds) | seconds) as sum_extractor_elapsed_seconds

0 commit comments

Comments
 (0)