// $Id$
//
-// Copyright (C) 2008
+// Copyright (C) 2008
// Fraunhofer Institute for Open Communication Systems (FOKUS)
// Competence Center NETwork research (NET), St. Augustin, GERMANY
// Stefan Bund <g0dil@berlios.de>
///////////////////////////////cc.p////////////////////////////////////////
namespace {
-
+
unsigned calls (0u);
float ppss[] = { 13.333333f, 20.f, 13.333333f, 20.f, 13.333333f, 20.f };
if (calls >= sizeof(ppss) / sizeof(ppss[0]))
senf::scheduler::terminate();
}
-
+
void collectBPS(float bytesPerSecond)
{
bps += bytesPerSecond;
senf::ppi::connect(filter, analyzer);
senf::ppi::run();
-
+
BOOST_CHECK_EQUAL( calls, 6u );
pps /= calls;