projects
/
bluesky.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update logic for flushing data to cloud.
[bluesky.git]
/
bluesky
/
debug.c
diff --git
a/bluesky/debug.c
b/bluesky/debug.c
index
0a5f254
..
207cb7b
100644
(file)
--- a/
bluesky/debug.c
+++ b/
bluesky/debug.c
@@
-56,9
+56,9
@@
static void cache_dump(gpointer key, gpointer value, gpointer user_data)
BlueSkyCacheFile *cache = (BlueSkyCacheFile *)value;
int64_t age = bluesky_get_current_time() - cache->atime;
BlueSkyCacheFile *cache = (BlueSkyCacheFile *)value;
int64_t age = bluesky_get_current_time() - cache->atime;
- g_print("%s addr=%p mapcount=%d refcount=%d
dirty=%d
atime_age=%f",
+ g_print("%s addr=%p mapcount=%d refcount=%d atime_age=%f",
cache->filename, cache->addr, cache->mapcount, cache->refcount,
cache->filename, cache->addr, cache->mapcount, cache->refcount,
-
cache->dirty_refs,
age / 1e6);
+ age / 1e6);
if (cache->fetching)
g_print(" (fetching)");
g_print("\n");
if (cache->fetching)
g_print(" (fetching)");
g_print("\n");