summaryrefslogtreecommitdiffstatsci
path: root/src/caskbench_context.cpp
diff options
context:
space:
mode:
authorBryce Harrington <b.harrington@samsung.com>2014-05-29 16:03:43 -0700
committerBryce Harrington <b.harrington@samsung.com>2014-05-29 16:07:41 -0700
commit579d2dbbbb6865a80d0e70425e94e386549ad94e (patch)
tree6e4dd19226a109081a6ce11152b40e3afc882800 /src/caskbench_context.cpp
parenta08f2152767aede60f1fc623e111af281d3ed9e2 (diff)
Break the caskbench_result functionality out into its own files
ref: https://github.com/Samsung/caskbench/issues/51
Diffstat (limited to 'src/caskbench_context.cpp')
-rw-r--r--src/caskbench_context.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/caskbench_context.cpp b/src/caskbench_context.cpp
index 155eba7..c161e84 100644
--- a/src/caskbench_context.cpp
+++ b/src/caskbench_context.cpp
@@ -1,3 +1,10 @@
+/*
+ * Copyright 2014 © Samsung Research America, Silicon Valley
+ *
+ * Use of this source code is governed by the 3-Clause BSD license
+ * specified in the COPYING file included with this source code.
+ */
+
#include <config.h>
#include <assert.h>
#include <err.h>
@@ -19,7 +26,7 @@ void
context_init(caskbench_context_t *context, int size)
{
assert(context);
- assert(size > 0);
+ assert(size > 0);
context->size = size;
context->canvas_width = 800;
@@ -163,4 +170,3 @@ context_destroy_skia(caskbench_context_t *context)
context->skia_device = NULL;
}
#endif
-