JS: address review comments

This commit is contained in:
Esben Sparre Andreasen
2019-09-09 10:31:40 +02:00
parent ec58ccc0ec
commit 2a22471975
2 changed files with 4 additions and 4 deletions

View File

@@ -46,7 +46,7 @@ public class ExtractionMetrics {
/** The label for the file that is being extracted. */
private Label fileLabel;
/** The number of characters in the file that is being extracted. */
/** The number of UTF16 code units in the file that is being extracted. */
private int length;
/** The previous time a CPU-time measure was performed. */

View File

@@ -25,12 +25,12 @@ module ExtractionMetrics {
float getWallclockTime() { result = strictsum(getTime(_, 1)) }
/**
* Gets the CPU time in nanoseconds it took to process phase `phaseName` during the extraction this file.
* Gets the CPU time in nanoseconds it took to process phase `phaseName` during the extraction of this file.
*/
float getCpuTime(PhaseName phaseName) { result = getTime(phaseName, 0) }
/**
* Gets the wall-clock time in nanoseconds it took to process phase `phaseName` during the extraction this file.
* Gets the wall-clock time in nanoseconds it took to process phase `phaseName` during the extraction of this file.
*/
float getWallclockTime(PhaseName phaseName) { result = getTime(phaseName, 1) }
@@ -45,7 +45,7 @@ module ExtractionMetrics {
string getCacheFile() { extraction_data(this, result, _, _) }
/**
* Gets the number of characters in this file.
* Gets the number of UTF16 code units in this file.
*/
int getLength() { extraction_data(this, _, _, result) }