Changeset: 40a4789951da for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=40a4789951da
Modified Files:
sql/backends/monet5/datacell/datacell.mx
Branch: default
Log Message:
Extend with time sliding and error
diffs (46 lines):
diff --git a/sql/backends/monet5/datacell/datacell.mx
b/sql/backends/monet5/datacell/datacell.mx
--- a/sql/backends/monet5/datacell/datacell.mx
+++ b/sql/backends/monet5/datacell/datacell.mx
@@ -88,6 +88,10 @@
address DCwindow
comment "Slide the basket with a limited number of events";
+command timewindow{unsafe}(bskt:str, N:int, S:int):bit
+address DCtimewindow
+comment "Slide the basket with a time window of N milliseconds with stride S
milliseconds";
+
command beat(bskt:str, t:int):bit
address DCbeat
comment "Schedule query with T milliseconds interval";
@@ -100,6 +104,10 @@
address PNtable
comment "Inspect the datacell queries";
+command errors():bat[:str,:bat]
+address BSKTtableerrors
+comment "Inspect the erroneous events";
+
@{
@h
#ifndef _DATACELLS_
@@ -140,6 +148,7 @@
datacell_export str DCdump(int *ret);
datacell_export str DCthreshold(int *ret, str *bskt, int *mi);
datacell_export str DCwindow(int *ret, str *bskt, int *sz, int *slide);
+datacell_export str DCtimewindow(int *ret, str *bskt, int *sz, int *slide);
datacell_export str DCbeat(int *ret, str *bskt, int *t);
datacell_export str DCpauseScheduler(Client cntxt, MalBlkPtr mb, MalStkPtr
stk, InstrPtr pci);
@@ -501,6 +510,12 @@
}
str
+DCtimewindow(int *ret, str *bskt, int *sz, int *slide)
+{
+ return BSKTtimewindow(ret,bskt, sz,slide);
+}
+
+str
DCbeat(int *ret, str *bskt, int *beat)
{
return BSKTbeat(ret,bskt,beat);
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list