← Back to team overview

zeitgeist team mailing list archive

[Branch ~zeitgeist/zeitgeist/bluebird] Rev 347: Added Benchmark extension to measure find_event_ids, get_events, and find_events, still missing m...

 

------------------------------------------------------------
revno: 347
committer: Seif Lotfy <seif@xxxxxxxxx>
branch nick: zeitgeist
timestamp: Wed 2011-12-21 21:32:18 +0100
message:
  Added Benchmark extension to measure find_event_ids, get_events, and find_events, still missing marshalling
modified:
  extensions/Makefile.am
  src/Makefile.am
  src/extension-collection.vala


--
lp:zeitgeist
https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird

Your team Zeitgeist Framework Team is subscribed to branch lp:zeitgeist.
To unsubscribe from this branch go to https://code.launchpad.net/~zeitgeist/zeitgeist/bluebird/+edit-subscription
=== modified file 'extensions/Makefile.am'
--- extensions/Makefile.am	2011-10-31 15:28:09 +0000
+++ extensions/Makefile.am	2011-12-21 20:32:18 +0000
@@ -3,7 +3,7 @@
 NULL =
 
 #extensionsdir = $(libdir)/zeitgeist/extensions
-noinst_LTLIBRARIES = ds-registry.la blacklist.la storage-monitor.la fts.la
+noinst_LTLIBRARIES = ds-registry.la blacklist.la storage-monitor.la fts.la benchmark.la
 
 AM_CPPFLAGS = \
 	$(ZEITGEIST_CFLAGS) \
@@ -60,3 +60,13 @@
 fts_la_LIBADD = \
 	$(ZEITGEIST_LIBS) \
 	$(NULL)
+	
+benchmark_la_SOURCES = \
+	benchmark.vala \
+	$(NULL)
+
+benchmark_la_LDFLAGS = -module -avoid-version
+
+benchmark_la_LIBADD = \
+	$(ZEITGEIST_LIBS) \
+	$(NULL)

=== modified file 'src/Makefile.am'
--- src/Makefile.am	2011-11-01 18:30:37 +0000
+++ src/Makefile.am	2011-12-21 20:32:18 +0000
@@ -25,6 +25,7 @@
 	ext-histogram.vala \
 	ext-storage-monitor.vala \
 	ext-fts.vala \
+	ext-benchmark.vala \
 	$(NULL)
 
 zeitgeist_daemon_VALASOURCES = \

=== modified file 'src/extension-collection.vala'
--- src/extension-collection.vala	2011-10-20 11:20:36 +0000
+++ src/extension-collection.vala	2011-12-21 20:32:18 +0000
@@ -48,7 +48,8 @@
                 blacklist_init,
                 histogram_init,
                 storage_monitor_init,
-                fts_init
+                fts_init,
+                benchmark_init
             };
 
             foreach (var func in builtins)
@@ -163,6 +164,7 @@
     private extern static Type histogram_init (TypeModule mod);
     private extern static Type storage_monitor_init (TypeModule mod);
     private extern static Type fts_init (TypeModule mod);
+    private extern static Type benchmark_init (TypeModule mod);
 #endif
 
 }