Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Side by Side Diff: source/test/perf/howExpensiveIs/sieve.h

Issue 2435373002: Delete source/test (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « source/test/perf/howExpensiveIs/readme.txt ('k') | source/test/perf/howExpensiveIs/sieve.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 /*
2 **********************************************************************
3 * Copyright (c) 2011-2012,International Business Machines
4 * Corporation and others. All Rights Reserved.
5 **********************************************************************
6 */
7
8 #ifndef SIEVE_H
9 #define SIEVE_H
10
11 #ifndef U_LOTS_OF_TIMES
12 #define U_LOTS_OF_TIMES 1000000
13 #endif
14
15 #include "unicode/utypes.h"
16 /**
17 * Calculate the standardized sieve time (1 run)
18 */
19 U_INTERNAL double uprv_calcSieveTime(void);
20
21 /**
22 * Calculate the mean time, with margin of error
23 * @param times array of times (modified/sorted)
24 * @param timeCount length of array - on return, how many remain after throwing out outliers
25 * @param marginOfError out parameter: gives +/- margin of err at 95% confidence
26 * @return the mean time, or negative if error/imprecision.
27 */
28 U_INTERNAL double uprv_getMeanTime(double *times, uint32_t *timeCount, double *m arginOfError);
29
30 /**
31 * Get the standardized sieve time. (Doesn't recalculate if already computed.
32 * @param marginOfError out parameter: gives +/- margin of error at 95% confiden ce.
33 * @return the mean time, or negative if error/imprecision.
34 */
35 U_INTERNAL double uprv_getSieveTime(double *marginOfError);
36
37 #endif
OLDNEW
« no previous file with comments | « source/test/perf/howExpensiveIs/readme.txt ('k') | source/test/perf/howExpensiveIs/sieve.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698