Description Usage Arguments Details Value
View source: R/microbenchmark_dense_matrix_kernel.R
MicrobenchmarkDenseMatrixKernel
performs microbenchmarking of a
dense matrix linear algebra kernel for several matrix dimensions
1 2 | MicrobenchmarkDenseMatrixKernel(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 dense 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 DenseMatrixMicrobenchmark
. For each matrix dimension
to be tested, the run time performance of the kernel is averaged over
multiple performance trials, and the averages are written to a CSV file. The
results of the individual performance trials are retained in a data frame
that is returned upon completion of the microbenchmark. The kernel can also
be executed with multiple threads if the kernel supports multithreading. See
DenseMatrixMicrobenchmark
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
The dimension parameters the microbenchmark uses to define the matrix dimensions to be tested with
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.