Skip to content

Commit

Permalink
editor-config fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Pelanek committed Jun 19, 2024
1 parent 52143af commit e5b8bb1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/aggregatedFileExample.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ int main() {
= {[]() { return returnValue(5); }, nullptr};


// It is better to keep the files in another directory and not
// It is better to keep the files in another directory and not
// aggregate them straight from root dir.
auto aggFileDir = telemetryRootNode->addDir("aggDir");
auto file1 = aggFileDir->addFile("file1", fileOps1);
Expand All @@ -50,12 +50,12 @@ int main() {
// Here we init three different aggregation operations.
// One of them is join meaning it will add values from all files into an array.
// The two arguments after the method type are source dict field name and result dict field name
// If they are left empty ("") the values are taken directly from file->read() and
// If they are left empty ("") the values are taken directly from file->read() and
// directly returned as telemetry::Scalar, telemetry::Array, ...
// The result here is 1 : [2, 5].
const telemetry::AggOperation aggOp0 = {telemetry::AggMethodType::JOIN, "", "1"};

// Average of read from files in aggfile if there are different types of Scalar(WithUnit)s the return
// Average of read from files in aggfile if there are different types of Scalar(WithUnit)s the return
// type is same as in cpp meaning avg of uint64_t, int64_t and double the result is double.
const telemetry::AggOperation aggOp1 = {telemetry::AggMethodType::AVG};
// Sum of read from files in aggfile
Expand Down

0 comments on commit e5b8bb1

Please sign in to comment.