Function CMSStatsProvider->preprocess_raw_data_flat
Definitions
sources/stats.php
- Preprocess raw data in the database into something we can efficiently draw graphs/conclusions from.This is for flat and timeless data.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
Parameters
Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
---|---|---|---|---|---|---|---|
$start_time | TIME | No | No | required parameter | N/A | N/A | Start timestamp |
$end_time | TIME | No | No | required parameter | N/A | N/A | End timestamp |
&$data_buckets | array | Yes | No | required parameter | N/A | N/A | Map of data buckets; a map of bucket name to nested maps |
Preview
Code (PHP)
/**
* Preprocess raw data in the database into something we can efficiently draw graphs/conclusions from.This is for flat and timeless data.
*
* @param TIME $start_time Start timestamp
* @param TIME $end_time End timestamp
* @param array $data_buckets Map of data buckets; a map of bucket name to nested maps
*/
public function preprocess_raw_data_flat(int $start_time, int $end_time, array &$data_buckets)
* Preprocess raw data in the database into something we can efficiently draw graphs/conclusions from.This is for flat and timeless data.
*
* @param TIME $start_time Start timestamp
* @param TIME $end_time End timestamp
* @param array $data_buckets Map of data buckets; a map of bucket name to nested maps
*/
public function preprocess_raw_data_flat(int $start_time, int $end_time, array &$data_buckets)