Changeset: e59a25aa381a for MonetDB
URL: https://dev.monetdb.org/hg/MonetDB/rev/e59a25aa381a
Modified Files:
monetdb5/modules/kernel/vss.c
Branch: nested
Log Message:
use proper format specifier for LNG.
diffs (32 lines):
diff --git a/monetdb5/modules/kernel/vss.c b/monetdb5/modules/kernel/vss.c
--- a/monetdb5/modules/kernel/vss.c
+++ b/monetdb5/modules/kernel/vss.c
@@ -743,7 +743,7 @@ BONDknn(Client cntxt, MalBlkPtr mb, MalS
/* Create BOND collection and search */
bond_collection *bc = bond_create(ta, dim_bats, ndims);
lng T1 = GDKusec();
- printf("creation %ld\n", T1 - T0);
+ printf("creation " LLFMT "\n", T1 - T0);
T0 = T1;
if (!bc) {
@@ -761,16 +761,16 @@ BONDknn(Client cntxt, MalBlkPtr mb, MalS
throw(MAL, "vss.knn", MAL_MALLOC_FAIL);
}
T1 = GDKusec();
- printf("order %ld\n", T1 - T0);
+ printf("order " LLFMT "\n", T1 - T0);
T0 = T1;
bc->kth_upper = bond_upper_bound_sampled(ta, bc, query_vals, k);
T1 = GDKusec();
- printf("upperbound %ld\n", T1 - T0);
+ printf("upperbound " LLFMT "\n", T1 - T0);
T0 = T1;
BAT *oid_result = NULL, *dist_result = NULL;
char *rc = bond_search_fast(ta, bc, query_vals, (BUN) k, dim_order,
NULL, &oid_result, &dist_result);
T1 = GDKusec();
- printf("search %ld\n", T1 - T0);
+ printf("search " LLFMT "\n", T1 - T0);
T0 = T1;
for (int i = 0; i < ndims; i++)
_______________________________________________
checkin-list mailing list -- [email protected]
To unsubscribe send an email to [email protected]