summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2020-01-25 17:45:32 -0800
committerVito Caputo <vcaputo@pengaru.com>2020-01-25 17:45:32 -0800
commit87cc5fe2348d9b0d9102273fa0253cd474672e9c (patch)
tree1700ea73e8a49cecd78a6d78ddc5d543bab54f50 /src
parent6385931985fa6fa8dd7ed69c20785d6b8d9cf37a (diff)
rototiller: s/t_offset/ticks_offset/g
Make naming consistent
Diffstat (limited to 'src')
-rw-r--r--src/rototiller.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rototiller.c b/src/rototiller.c
index d2dce75..0473ee3 100644
--- a/src/rototiller.c
+++ b/src/rototiller.c
@@ -76,7 +76,7 @@ typedef struct rototiller_t {
pthread_t thread;
fb_t *fb;
struct timeval start_tv;
- unsigned t_offset;
+ unsigned ticks_offset;
} rototiller_t;
static rototiller_t rototiller;
@@ -396,7 +396,7 @@ static void * rototiller_thread(void *_rt)
page = fb_page_get(rt->fb);
gettimeofday(&now, NULL);
- ticks = get_ticks(&rt->start_tv, &now, rt->t_offset);
+ ticks = get_ticks(&rt->start_tv, &now, rt->ticks_offset);
module_render_fragment(rt->module, rt->module_context, rt->threads, ticks, &page->fragment);
@@ -447,7 +447,7 @@ int main(int argc, const char *argv[])
!(rototiller.module_context = rototiller.module->create_context(
get_ticks(&rototiller.start_tv,
&rototiller.start_tv,
- rototiller.t_offset),
+ rototiller.ticks_offset),
threads_num_threads(rototiller.threads))),
"unable to create module context");
© All Rights Reserved