Mercurial > hg > svcore
diff data/fft/FFTDataServer.cpp @ 168:04baa690f90d
* Start adding StorageAdviser class to determine whether caches should be
on disc or in memory
author | Chris Cannam |
---|---|
date | Mon, 25 Sep 2006 13:44:05 +0000 |
parents | e5879045d22b |
children | b23eea68357e |
line wrap: on
line diff
--- a/data/fft/FFTDataServer.cpp Fri Sep 22 16:46:10 2006 +0000 +++ b/data/fft/FFTDataServer.cpp Mon Sep 25 13:44:05 2006 +0000 @@ -22,6 +22,9 @@ #include "system/System.h" +#include "base/StorageAdviser.h" + + #define DEBUG_FFT_SERVER 1 //#define DEBUG_FFT_SERVER_FILL 1 @@ -72,6 +75,13 @@ return server; } + + //!!! + + StorageAdviser::Recommendation recommendation = + StorageAdviser::recommend(StorageAdviser::Criteria(0), 0, 0); + + m_servers[n] = ServerCountPair (new FFTDataServer(n, model,