Statistik persentase bit yang berubah (rata-rata, min, max).
More...
|
| void | add (int changed) |
| | Catat satu sampel.
|
| void | print (const char *name) const |
| | Print ringkasan statistik ke stdout.
|
|
|
double | sum = 0 |
| | Jumlah seluruh persentase yang dicatat.
|
|
double | min = 1e9 |
| | Persentase terkecil.
|
|
double | max = -1 |
| | Persentase terbesar.
|
|
long | count = 0 |
| | Banyaknya sampel.
|
Statistik persentase bit yang berubah (rata-rata, min, max).
◆ add()
| void Stat::add |
( |
int | changed | ) |
|
|
inline |
Catat satu sampel.
- Parameters
-
| [in] | changed | Jumlah bit ciphertext yang berubah (0 sampai BLOCK_BITS). |
◆ print()
| void Stat::print |
( |
const char * | name | ) |
const |
|
inline |
Print ringkasan statistik ke stdout.
- Parameters
-
| [in] | name | Label baris keluaran. |
The documentation for this struct was generated from the following file: