From 182c428461c7048c34c3f00676f875b40b4ab223 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9F=D0=B5=D0=BB=D0=B8=D0=BF=D0=B5=D0=BD=D0=BA=D0=BE=20?= =?UTF-8?q?=D0=98=D0=B2=D0=B0=D0=BD?= Date: Tue, 17 Mar 2015 13:26:57 +0000 Subject: [PATCH] peer update git-svn-id: svn://db.shs.com.ru/pip@34 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5 --- main.cpp | 151 +++++++++++++++++++++++++++++-------------------------- 1 file changed, 79 insertions(+), 72 deletions(-) diff --git a/main.cpp b/main.cpp index 61b9bce1..c82c2ab5 100644 --- a/main.cpp +++ b/main.cpp @@ -32,86 +32,93 @@ using namespace PIScreenTypes; template class Test { public: - Test() { - T d0, d1, d2; + Test(int cycles) { PITimeMeasurer tm; double tr; - piCout << "0"; - printf("(%p)\n", &d0); - printf("(%p)\n", &d1); - printf("(%p)\n", &d2); - piCout << ""; - int ss = 512; - - tm.reset(); - for (int i=0; i > testd; + int cc = PIString(argv[1]).toInt(); - piCout << PICoutManipulators::NewLine << "Vector"; - Test > testv; + piCout << "Deque"; + Test > testd(cc); + + /*piCout << PICoutManipulators::NewLine << "Vector"; + Test > testv(cc);*/ return 0; /*if (!(argc == 3 || argc == 4)) {