WriteSparseMatrixPerformanceResultsCsv: Appends sparse matrix performance test results to a file in...

Description Usage Arguments Details

View source: R/benchmarking_utils.R

Description

WriteSparseMatrixPerformanceResultsCsv appends performance results for a single sparse matrix performance test to a CSV file.

Usage

1
2
3
WriteSparseMatrixPerformanceResultsCsv(numberOfThreads, numberOfRows,
  numberOfColumns, numberOfNonzeros, averageWallClockTime, standardDeviation,
  csvResultsFileName)

Arguments

numberOfThreads

the number of threads all of the performance trials were conducted with

numberOfRows

the number of rows in the matrix

numberOfColumns

the number of columns in the matrix

numberOfNonzeros

the number of non-zero elements in the matrix

averageWallClockTime

average wall clock time computed for the matrix tested during the performance trials

standardDeviation

standard deviation of the wall clock times obtained for the performance trials

csvResultsFileName

the CSV results file the performance result will be appended to

Details

This function appends the performance results obtained by a single sparse matrix microbenchmark conducted for a specific matrix. If the CSV file does not exist, header information is printed on the first line to describe the subsequent entries. Each entry consists of the dimension parameter used to specify the dimensions of the matrix, the average of the wall clock times obtained for the performance trials, the standard deviation of the performance trial wall clock times, and the number of threads the performance trials were conducted with.


RHPCBenchmark documentation built on May 2, 2019, 6:40 a.m.