Description Usage Arguments Details Value
View source: R/microbenchmark_sparse_matrix_kernel.R
MicrobenchmarkSparseMatrixKernel
performs microbenchmarking of a
sparse matrix linear algebra kernel for several matrix dimensions
1 2 | MicrobenchmarkSparseMatrixKernel(benchmarkParameters, numberOfThreads,
resultsDirectory, runIdentifier)
|
benchmarkParameters |
an object of type
|
numberOfThreads |
the number of threads the microbenchmark is being performed with. The value is for informational purposes only and does not effect the number threads the kernel is executed with. |
resultsDirectory |
a character string specifying the directory where all of the CSV performance results files will be saved |
runIdentifier |
a character string specifying the suffix to be appended to the base of the file name of the output CSV format files |
This function performs microbenchmarking of a sparse matrix linear algebra
kernel for several matrix dimensions and a given number of threads. The
kernel to be performance tested, the matrix dimensions to be tested, and
other parameters specifying how the kernel is to be benchmarked are given in
the input object benchmarkParameters
which is an instance of
the class SparseMatrixMicrobenchmark
.
For each matrix dimension to be tested, the run time performance of the
kernel is averaged over multiple runs. The kernel can also be executed with
multiple threads if the kernel supports multithreading.
See SparseMatrixMicrobenchmark
for more details on the benchmarking parameters.
a dataframe containing the performance trial times for each matrix tested, that is the raw performance data before averaging. The columns of the data frame are the following:
The name of the microbenchmark
An integer specifying the expected number of rows in the input sparse matrix
An integer specifying the expected number of columns in the input sparse matrix
The amount of time spent in user-mode code within the microbenchmarked code
The amount of time spent in the kernel within the process
The total time spent to complete the performance trial
The date and time the performance trial was commenced
The date and time the performance trial ended
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.