Skip to content

Commit

Permalink
Auto-generated commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Apr 27, 2024
1 parent b289a29 commit abdd1d5
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 17 deletions.
9 changes: 3 additions & 6 deletions benchmark/c/benchmark.length.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
* limitations under the License.
*/

/**
* Benchmark `dcusum`.
*/
#include "stdlib/blas/ext/base/dcusum.h"
#include <stdlib.h>
#include <stdio.h>
Expand All @@ -35,7 +32,7 @@
/**
* Prints the TAP version.
*/
void print_version() {
void print_version( void ) {
printf( "TAP version 13\n" );
}

Expand Down Expand Up @@ -74,7 +71,7 @@ void print_results( int iterations, double elapsed ) {
*
* @return clock time
*/
double tic() {
double tic( void ) {
struct timeval now;
gettimeofday( &now, NULL );
return (double)now.tv_sec + (double)now.tv_usec/1.0e6;
Expand All @@ -85,7 +82,7 @@ double tic() {
*
* @return random number
*/
double rand_double() {
double rand_double( void ) {
int r = rand();
return (double)r / ( (double)RAND_MAX + 1.0 );
}
Expand Down
20 changes: 9 additions & 11 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,7 @@
"include": [
"./include"
],
"libraries": [
"-lm"
],
"libraries": [],
"libpath": [],
"dependencies": [
"@stdlib/napi-export",
Expand All @@ -54,11 +52,11 @@
"include": [
"./include"
],
"libraries": [
"-lm"
],
"libraries": [],
"libpath": [],
"dependencies": []
"dependencies": [
"@stdlib/blas-ext-base-dcusumkbn"
]
},
{
"task": "examples",
Expand All @@ -68,11 +66,11 @@
"include": [
"./include"
],
"libraries": [
"-lm"
],
"libraries": [],
"libpath": [],
"dependencies": []
"dependencies": [
"@stdlib/blas-ext-base-dcusumkbn"
]
}
]
}

0 comments on commit abdd1d5

Please sign in to comment.