forked from akopytov/sysbench
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update bundled ConcurrencyKit to 0.6.0.
- Loading branch information
Showing
8 changed files
with
73 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -34,7 +34,7 @@ WANT_PIC=yes | |
|
||
P_PWD=`pwd` | ||
MAINTAINER='[email protected]' | ||
VERSION=${VERSION:-'0.5.2'} | ||
VERSION=${VERSION:-'0.6.0'} | ||
VERSION_MAJOR='0' | ||
BUILD="$PWD/build/ck.build" | ||
PREFIX=${PREFIX:-"/usr/local"} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
third_party/concurrency_kit/ck/regressions/ck_pr/benchmark/ck_pr_add_64.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#include <ck_pr.h> | ||
|
||
#ifdef CK_F_PR_ADD_64 | ||
#define ATOMIC ck_pr_add_64(object, 1) | ||
#define ATOMIC_STRING "ck_pr_add_64" | ||
#include "benchmark.h" | ||
#else | ||
#warning Did not find ADD_64 implementation. | ||
#include <stdlib.h> | ||
|
||
int | ||
main(void) | ||
{ | ||
exit(EXIT_FAILURE); | ||
} | ||
#endif |
16 changes: 16 additions & 0 deletions
16
third_party/concurrency_kit/ck/regressions/ck_pr/benchmark/ck_pr_faa_64.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#include <ck_pr.h> | ||
|
||
#ifdef CK_F_PR_FAA_64 | ||
#define ATOMIC ck_pr_faa_64(object, 1) | ||
#define ATOMIC_STRING "ck_pr_faa_64" | ||
#include "benchmark.h" | ||
#else | ||
#warning Did not find FAA_64 implementation. | ||
#include <stdlib.h> | ||
|
||
int | ||
main(void) | ||
{ | ||
exit(EXIT_FAILURE); | ||
} | ||
#endif |
16 changes: 16 additions & 0 deletions
16
third_party/concurrency_kit/ck/regressions/ck_pr/benchmark/ck_pr_neg_64.c
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#include <ck_pr.h> | ||
|
||
#ifdef CK_F_PR_NEG_64 | ||
#define ATOMIC ck_pr_neg_64(object) | ||
#define ATOMIC_STRING "ck_pr_neg_64" | ||
#include "benchmark.h" | ||
#else | ||
#warning Did not find NEG_64 implementation. | ||
#include <stdlib.h> | ||
|
||
int | ||
main(void) | ||
{ | ||
exit(EXIT_FAILURE); | ||
} | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters