| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#181
| |||
| |||
| "Alex Vinokur" <alexvn@users.sourceforge.net> wrote in message news:1189766653.149309.12390@r34g2000hsd.googlegro ups.com... > On Jul 27, 12:19 am, lunamoonm...@gmail.com wrote: >> C/C++ speed optimization bible/resources/pointers needed! >> > [snip] > > Look at C/C++ Program Perfometer > http://sourceforge.net/projects/cpp-perfometer/ > > The C/C++ Program Perfometer is an open source tool which enables the > programmer to measure the comparative performance of a C/C++ program > or of separated pieces of code by one of several desired metrics: > e.g., time, memory, or metrics defined by the programmer. I made the download and it looks to me that the closest thing to an executable is several batch files. Can you discuss how to use it on a rudimentray C program? -- Wade Ward wade@zaxfuuq.net 'If they took all the "And it came to pass's" out of the Book of Mormon, it would be a pamphlet.' --Mark Twain |
|
#182
| |||
| |||
| Wade Ward wrote: > "Alex Vinokur" <alexvn@users.sourceforge.net> wrote in message > news:1189766653.149309.12390@r34g2000hsd.googlegro ups.com... >> On Jul 27, 12:19 am, lunamoonm...@gmail.com wrote: >>> C/C++ speed optimization bible/resources/pointers needed! >> Look at C/C++ Program Perfometer >> http://sourceforge.net/projects/cpp-perfometer/ >> >> The C/C++ Program Perfometer is an open source tool which enables the >> programmer to measure the comparative performance of a C/C++ program >> or of separated pieces of code by one of several desired metrics: >> e.g., time, memory, or metrics defined by the programmer. > I made the download and it looks to me that the closest thing to an > executable is several batch files. Can you discuss how to use it on a > rudimentray C program? Did you read the readme.txt file that was contained in the archive? - Logan |
|
#183
| |||
| |||
| Wade Ward wrote: > "Logan Shaw" <lshaw-usenet@austin.rr.com> wrote in message > news:46eb2b5e$0$17125$4c368faf@roadrunner.com... >> Wade Ward wrote: >>> "Alex Vinokur" <alexvn@users.sourceforge.net> wrote in message >>> news:1189766653.149309.12390@r34g2000hsd.googlegro ups.com... >>>> http://sourceforge.net/projects/cpp-perfometer/ >> Did you read the readme.txt file that was contained in the archive? > Not when I posted, but I have now. When I run test_demo.bat, I have a dos > window open up, do something for about a half-second then close. I don't > feel like I'm a whole lot closer to using it on a toy C program except for > the reading. I guess this is a problem with either your platform or the way you are using it. Maybe the way you launched the script caused you to fail to see its output. - Logan |
|
#184
| |||
| |||
| --Mark Twain "Logan Shaw" <lshaw-usenet@austin.rr.com> wrote in message news:46eb2b5e$0$17125$4c368faf@roadrunner.com... > Wade Ward wrote: >> "Alex Vinokur" <alexvn@users.sourceforge.net> wrote in message >> news:1189766653.149309.12390@r34g2000hsd.googlegro ups.com... >>> On Jul 27, 12:19 am, lunamoonm...@gmail.com wrote: >>>> C/C++ speed optimization bible/resources/pointers needed! > >>> Look at C/C++ Program Perfometer >>> http://sourceforge.net/projects/cpp-perfometer/ >>> >>> The C/C++ Program Perfometer is an open source tool which enables the >>> programmer to measure the comparative performance of a C/C++ program >>> or of separated pieces of code by one of several desired metrics: >>> e.g., time, memory, or metrics defined by the programmer. > >> I made the download and it looks to me that the closest thing to an >> executable is several batch files. Can you discuss how to use it on a >> rudimentray C program? > > Did you read the readme.txt file that was contained in the archive? Not when I posted, but I have now. When I run test_demo.bat, I have a dos window open up, do something for about a half-second then close. I don't feel like I'm a whole lot closer to using it on a toy C program except for the reading. -- Wade Ward wade@zaxfuuq.net 'If they took all the "And it came to pass's" out of the Book of Mormon, it would be a pamphlet.' |
|
#185
| |||
| |||
| On Fri, 14 Sep 2007 19:18:53 -0700, Wade Ward wrote: > --Mark Twain > "Logan Shaw" <lshaw-usenet@austin.rr.com> wrote in message > news:46eb2b5e$0$17125$4c368faf@roadrunner.com... >> Wade Ward wrote: >>> "Alex Vinokur" <alexvn@users.sourceforge.net> wrote in message >>> news:1189766653.149309.12390@r34g2000hsd.googlegro ups.com... >>>> On Jul 27, 12:19 am, lunamoonm...@gmail.com wrote: >>>>> C/C++ speed optimization bible/resources/pointers needed! >> >>>> Look at C/C++ Program Perfometer >>>> http://sourceforge.net/projects/cpp-perfometer/ >>>> >>>> The C/C++ Program Perfometer is an open source tool which enables the >>>> programmer to measure the comparative performance of a C/C++ program >>>> or of separated pieces of code by one of several desired metrics: >>>> e.g., time, memory, or metrics defined by the programmer. >> >>> I made the download and it looks to me that the closest thing to an >>> executable is several batch files. Can you discuss how to use it on a >>> rudimentray C program? >> >> Did you read the readme.txt file that was contained in the archive? > Not when I posted, but I have now. When I run test_demo.bat, I have a dos > window open up, do something for about a half-second then close. I don't > feel like I'm a whole lot closer to using it on a toy C program except for > the reading. There is a Makefile in the src directory, and it works for me (on a Mac), but there does not seem to be a compile.bat file as mentioned in readme.txt. The run_demo.bat file surely won't do anything interesting if you haven't compiled yet. Have you tried doing a "make"? -- Dave Seaman Oral Arguments in Mumia Abu-Jamal Case heard May 17 U.S. Court of Appeals, Third Circuit <http://www.abu-jamal-news.com/> |
|
#186
| |||
| |||
| -- Wade Ward wade@zaxfuuq.net 'If they took all the "And it came to pass's" out of the Book of Mormon, it would be a pamphlet.' --Mark Twain "Dave Seaman" <dseaman@no.such.host> wrote in message news:fcfh81$8n4$1@mailhub227.itcs.purdue.edu... > On Fri, 14 Sep 2007 19:18:53 -0700, Wade Ward wrote: > > > >> --Mark Twain >> "Logan Shaw" <lshaw-usenet@austin.rr.com> wrote in message >> news:46eb2b5e$0$17125$4c368faf@roadrunner.com... >>> Wade Ward wrote: >>>> "Alex Vinokur" <alexvn@users.sourceforge.net> wrote in message >>>> news:1189766653.149309.12390@r34g2000hsd.googlegro ups.com... >>>>> On Jul 27, 12:19 am, lunamoonm...@gmail.com wrote: >>>>>> C/C++ speed optimization bible/resources/pointers needed! >>> >>>>> Look at C/C++ Program Perfometer >>>>> http://sourceforge.net/projects/cpp-perfometer/ >>>>> >>>>> The C/C++ Program Perfometer is an open source tool which enables the >>>>> programmer to measure the comparative performance of a C/C++ program >>>>> or of separated pieces of code by one of several desired metrics: >>>>> e.g., time, memory, or metrics defined by the programmer. >>> >>>> I made the download and it looks to me that the closest thing to an >>>> executable is several batch files. Can you discuss how to use it on a >>>> rudimentray C program? >>> >>> Did you read the readme.txt file that was contained in the archive? >> Not when I posted, but I have now. When I run test_demo.bat, I have a >> dos >> window open up, do something for about a half-second then close. I don't >> feel like I'm a whole lot closer to using it on a toy C program except >> for >> the reading. > > There is a Makefile in the src directory, and it works for me (on a Mac), > but there does not seem to be a compile.bat file as mentioned in > readme.txt. The run_demo.bat file surely won't do anything interesting > if you haven't compiled yet. Have you tried doing a "make"? That makes it sound like there's a compiler there, but is it the point that I have to bring my own, as well as my own source? Then I could have as a line in a batch file something like: echo on gcc some_file.c pause -- Wade Ward |
|
#187
| |||
| |||
| "Wade Ward" <zaxfuuq@invalid.net> wrote in message news:1bqdnZzJJPU8iHbbnZ2dnUVZ_rCtnZ2d@comcast.com. .. > > > > "Alex Vinokur" <alexvn@users.sourceforge.net> wrote in message > news:1189766653.149309.12390@r34g2000hsd.googlegro ups.com... > > On Jul 27, 12:19 am, lunamoonm...@gmail.com wrote: > >> C/C++ speed optimization bible/resources/pointers needed! > >> > > [snip] > > > > Look at C/C++ Program Perfometer > > http://sourceforge.net/projects/cpp-perfometer/ > > > > The C/C++ Program Perfometer is an open source tool which enables the > > programmer to measure the comparative performance of a C/C++ program > > or of separated pieces of code by one of several desired metrics: > > e.g., time, memory, or metrics defined by the programmer. > I made the download and it looks to me that the closest thing to an > executable is several batch files. Can you discuss how to use it on a > rudimentray C program? [snip] Hi Wade, I am ready to answer your questions. By the way, perhaps, is it worth continuing the discussion in special Google-group related to C/C++ Program Perfometer?: comp.lang.c++.perfometer http://groups.google.com/group/perfo?hl=en See also programming.lang.c++.sources http://groups.google.com/group/sources?lnk=rga&hl=en programming.lang.c++.test-results http://groups.google.com/group/log-files?hl=en -- Alex Vinokur email: alex DOT vinokur AT gmail DOT com http://mathforum.org/library/view/10978.html http://sourceforge.net/users/alexvn |
|
#188
| |||
| |||
| >> Not when I posted, but I have now. When I run test_demo.bat, I have a dos window open up, do something for about a half-second then close Do you run it from the command prompt? If not, open a DOS window first (start button, "run", enter "cmd.exe" -mn |
|
#189
| |||
| |||
| "Alex Vinokur" <alexvn@users.sourceforge.net> wrote in message news:46eb7e85$0$1348$834e42db@reader.greatnowhere. com... > > Hi Wade, > > I am ready to answer your questions. > > By the way, perhaps, is it worth continuing the discussion in special > Google-group related to C/C++ Program Perfometer?: > comp.lang.c++.perfometer > http://groups.google.com/group/perfo?hl=en > > See also > programming.lang.c++.sources > http://groups.google.com/group/sources?lnk=rga&hl=en > > programming.lang.c++.test-results > http://groups.google.com/group/log-files?hl=en I set the follow-up to comp.lang.c++.perfometer. .... is the world getting smaller? I wanted to time a rudimentary C program because there was a contest outstanding in c.l.p.misc, and I thought I could gerrymander the result. I've got less than a half hour to beat the time, so I'll talk to you soon. Gruß, -- Wade Ward wade@zaxfuuq.net 'If they took all the "And it came to pass's" out of the Book of Mormon, it would be a pamphlet.' --Mark Twain |
|
#190
| |||
| |||
| On Fri, 14 Sep 2007 22:08:32 -0700, Wade Ward wrote: >> There is a Makefile in the src directory, and it works for me (on a Mac), >> but there does not seem to be a compile.bat file as mentioned in >> readme.txt. The run_demo.bat file surely won't do anything interesting >> if you haven't compiled yet. Have you tried doing a "make"? >That makes it sound like there's a compiler there, but is it the point that >I have to bring my own, as well as my own source? Then I could have as a >line in a batch file something like: >echo on >gcc some_file.c >pause Er, no, open source packages never include compilers, unless a compiler is the actual product (as with gcc). When you buy a box of cereal, do you expect to find a bowl, a spoon, and a carton of milk inside the package? -- Dave Seaman Oral Arguments in Mumia Abu-Jamal Case heard May 17 U.S. Court of Appeals, Third Circuit <http://www.abu-jamal-news.com/> |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.