~kamstrup/dee/benchmark

« back to all changes in this revision

Viewing changes to tests/test-benchmark.c

  • Committer: Mikkel Kamstrup Erlandsen
  • Date: 2011-12-07 13:38:00 UTC
  • Revision ID: mikkel.kamstrup@gmail.com-20111207133800-ju7rfu9x2tq4hrsv
Add an (empty) test-benchmark executable that can be run as a make target with 'make benchmark'

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 2011 Canonical Ltd
 
3
 *
 
4
 * This program is free software: you can redistribute it and/or modify
 
5
 * it under the terms of the GNU General Public License version 3 as 
 
6
 * published by the Free Software Foundation.
 
7
 *
 
8
 * This program is distributed in the hope that it will be useful,
 
9
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
10
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
11
 * GNU General Public License for more details.
 
12
 *
 
13
 * You should have received a copy of the GNU General Public License
 
14
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
15
 *
 
16
 * Authored by
 
17
 *              Mikkel Kamstrup Erlandsen <mikkel.kamstrup@canonical.com>
 
18
 *
 
19
 */
 
20
 
 
21
#include "config.h"
 
22
#include <glib.h>
 
23
#include <glib/gprintf.h>
 
24
#include <glib-object.h>
 
25
 
 
26
#include <dee.h>
 
27
 
 
28
gint
 
29
main (gint argc, gchar *argv[])
 
30
{
 
31
  DeePeer      *peer;
 
32
  
 
33
  g_type_init (); 
 
34
  g_thread_init (NULL);
 
35
 
 
36
  g_printf ("BENCH!\n");
 
37
 
 
38
  return 0;
 
39
}