Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Application Programming › Merging winrar, furmark, superpi to create something like 3dmark
New Posts  All Forums:Forum Nav:

Merging winrar, furmark, superpi to create something like 3dmark

post #1 of 23
Thread Starter 
Would it be possible to merge such programmes like 3dmark and furmark together to crete something like 3dmark?
Like make a script in C++ or somthing to run superpi 1m and 2m and seek out the time taken for the test, then opening furmark and run the test at a certain setting and seek that score. Do the same with a few more programmes and combine the scores with an equasion to create CPU and GPU mark. Sorry if it's badly explained but I was just wondering if it's possible with C++.

Thanks in adavance, sorry if it's the wrong section!
AMD/ATI epicness
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD Phenom II 965BE @ 3.90GHz 1.45v MSI 790Fx MSI GTX460 1gb 4gb Gskill Ripjaws DDR3 1600 
Hard DriveOptical DriveOSMonitor
1.5TB 7200RPM Dvd Burner Windows 7 24" BenQ 
KeyboardPowerCaseMouse
Logitech G-19 1200watt KingWin ThermalTake Xaser SideWinder 
  hide details  
Reply
AMD/ATI epicness
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD Phenom II 965BE @ 3.90GHz 1.45v MSI 790Fx MSI GTX460 1gb 4gb Gskill Ripjaws DDR3 1600 
Hard DriveOptical DriveOSMonitor
1.5TB 7200RPM Dvd Burner Windows 7 24" BenQ 
KeyboardPowerCaseMouse
Logitech G-19 1200watt KingWin ThermalTake Xaser SideWinder 
  hide details  
Reply
post #2 of 23
Well you are talking about making various applications talk to each other.

I'm not sure if you can access the memory locations of the programs using a program you've written or not. Theoretically I guess this is possible, I haven't programmed anything like that before.

However, I really have to question the time involved.

The time it takes to write this app, you could have manually checked and written down the settings for hundreds of runs of these apps.
    
CPUMotherboardGraphicsRAM
Phenom II X3 720 @ 3.5 (1.39v) Gigabyte GA-MA790XT-UD4P ASUS 5850 @ 880/1180 (1.118v) 4gb 1333mhz G.Skill DDR3 
Hard DriveHard DriveHard DriveHard Drive
64gb Crucial M4 SSD 3x 250gb WD2500JD - RAID0 1tb WD1001FALS 1tb WD10EARS 
Optical DriveCoolingOSMonitor
Pioneer DLDVD/CDRW Arctic Freezer Pro 64 Win 7 64bit Ultimate E2305 LG 23" LED 
KeyboardPowerCaseMouse
Filco Majestouch II Ninja Tenkeyless Fortron BlueStorm II 500w CM 690II Advanced Razer DeathAdder 
Mouse PadAudioAudio
generic Echo Miamidi PCI M-Audio BX5a Studio Monitors 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Phenom II X3 720 @ 3.5 (1.39v) Gigabyte GA-MA790XT-UD4P ASUS 5850 @ 880/1180 (1.118v) 4gb 1333mhz G.Skill DDR3 
Hard DriveHard DriveHard DriveHard Drive
64gb Crucial M4 SSD 3x 250gb WD2500JD - RAID0 1tb WD1001FALS 1tb WD10EARS 
Optical DriveCoolingOSMonitor
Pioneer DLDVD/CDRW Arctic Freezer Pro 64 Win 7 64bit Ultimate E2305 LG 23" LED 
KeyboardPowerCaseMouse
Filco Majestouch II Ninja Tenkeyless Fortron BlueStorm II 500w CM 690II Advanced Razer DeathAdder 
Mouse PadAudioAudio
generic Echo Miamidi PCI M-Audio BX5a Studio Monitors 
  hide details  
Reply
post #3 of 23
Thread Starter 
How did they programme 3dmark?
AMD/ATI epicness
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD Phenom II 965BE @ 3.90GHz 1.45v MSI 790Fx MSI GTX460 1gb 4gb Gskill Ripjaws DDR3 1600 
Hard DriveOptical DriveOSMonitor
1.5TB 7200RPM Dvd Burner Windows 7 24" BenQ 
KeyboardPowerCaseMouse
Logitech G-19 1200watt KingWin ThermalTake Xaser SideWinder 
  hide details  
Reply
AMD/ATI epicness
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD Phenom II 965BE @ 3.90GHz 1.45v MSI 790Fx MSI GTX460 1gb 4gb Gskill Ripjaws DDR3 1600 
Hard DriveOptical DriveOSMonitor
1.5TB 7200RPM Dvd Burner Windows 7 24" BenQ 
KeyboardPowerCaseMouse
Logitech G-19 1200watt KingWin ThermalTake Xaser SideWinder 
  hide details  
Reply
post #4 of 23
3DMark is an entire program, and inside the program all the data is gathered and formatted so you can read it. Individual applications do this too, they give you data about whatever they are supposed to monitor or benchmark.

The difference is that an application that shows you information isn't necessarily set up to give that information out to other programs. Usually, a program that wants to communicate with other programs has an API (Application Programming Interface). This is a type of computer language that gives people a set of commands they can use to get programs talking to each other.

For example, you could use the 3DMark API to create an application that pulls the driver version from the 3DMark results. That's not a good example of something you might care to do, and 3DMark might not offer an API for people to use.

3DMark doesn't need to use an API because it is it's own program and contains all the data, it doesn't have to tell itself. Using all the other apps like you are looking to do would require an API for each of the apps in order for them to communicate with your program.

You might be able to read them from memory, but that seems like a lot of work.

I hope that helped.
Edited by _02 - 3/10/10 at 6:10pm
    
CPUMotherboardGraphicsRAM
Phenom II X3 720 @ 3.5 (1.39v) Gigabyte GA-MA790XT-UD4P ASUS 5850 @ 880/1180 (1.118v) 4gb 1333mhz G.Skill DDR3 
Hard DriveHard DriveHard DriveHard Drive
64gb Crucial M4 SSD 3x 250gb WD2500JD - RAID0 1tb WD1001FALS 1tb WD10EARS 
Optical DriveCoolingOSMonitor
Pioneer DLDVD/CDRW Arctic Freezer Pro 64 Win 7 64bit Ultimate E2305 LG 23" LED 
KeyboardPowerCaseMouse
Filco Majestouch II Ninja Tenkeyless Fortron BlueStorm II 500w CM 690II Advanced Razer DeathAdder 
Mouse PadAudioAudio
generic Echo Miamidi PCI M-Audio BX5a Studio Monitors 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Phenom II X3 720 @ 3.5 (1.39v) Gigabyte GA-MA790XT-UD4P ASUS 5850 @ 880/1180 (1.118v) 4gb 1333mhz G.Skill DDR3 
Hard DriveHard DriveHard DriveHard Drive
64gb Crucial M4 SSD 3x 250gb WD2500JD - RAID0 1tb WD1001FALS 1tb WD10EARS 
Optical DriveCoolingOSMonitor
Pioneer DLDVD/CDRW Arctic Freezer Pro 64 Win 7 64bit Ultimate E2305 LG 23" LED 
KeyboardPowerCaseMouse
Filco Majestouch II Ninja Tenkeyless Fortron BlueStorm II 500w CM 690II Advanced Razer DeathAdder 
Mouse PadAudioAudio
generic Echo Miamidi PCI M-Audio BX5a Studio Monitors 
  hide details  
Reply
post #5 of 23
Sounds like a simple batch file or vbscript. Is there a console version of superpi? I know you can call winrar.exe from the command line.

Furmark? Probably not, but I haven't read their whitepapers.
    
CPUMotherboardGraphicsRAM
i7 930 #3951A687 @ 4.1 GIGGLEHERTZ GIGABYTE GA-EX58-UD3R EVGA GTX 470 mushkin 3GB DDR3 1600 7-8-7-20 
Hard DriveOptical DriveOSMonitor
3x Caviar Black 640GB, 2TB, HM160HI, 7200.7 etc. old 52x CD-R I found x64 Windows 7 Ultimate RTM HP w2207h 22" LCD 
KeyboardPowerCaseMouse
Rocketfish Bluetooth Seasonic X-750 Antec Nine Hundred M$ Bluetooth Mouse 5000 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
i7 930 #3951A687 @ 4.1 GIGGLEHERTZ GIGABYTE GA-EX58-UD3R EVGA GTX 470 mushkin 3GB DDR3 1600 7-8-7-20 
Hard DriveOptical DriveOSMonitor
3x Caviar Black 640GB, 2TB, HM160HI, 7200.7 etc. old 52x CD-R I found x64 Windows 7 Ultimate RTM HP w2207h 22" LCD 
KeyboardPowerCaseMouse
Rocketfish Bluetooth Seasonic X-750 Antec Nine Hundred M$ Bluetooth Mouse 5000 
  hide details  
Reply
post #6 of 23
Furmark does have command line paramters.

One is to write the results to a file, which you could read into a program easily.

Link
    
CPUMotherboardGraphicsRAM
Phenom II X3 720 @ 3.5 (1.39v) Gigabyte GA-MA790XT-UD4P ASUS 5850 @ 880/1180 (1.118v) 4gb 1333mhz G.Skill DDR3 
Hard DriveHard DriveHard DriveHard Drive
64gb Crucial M4 SSD 3x 250gb WD2500JD - RAID0 1tb WD1001FALS 1tb WD10EARS 
Optical DriveCoolingOSMonitor
Pioneer DLDVD/CDRW Arctic Freezer Pro 64 Win 7 64bit Ultimate E2305 LG 23" LED 
KeyboardPowerCaseMouse
Filco Majestouch II Ninja Tenkeyless Fortron BlueStorm II 500w CM 690II Advanced Razer DeathAdder 
Mouse PadAudioAudio
generic Echo Miamidi PCI M-Audio BX5a Studio Monitors 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
Phenom II X3 720 @ 3.5 (1.39v) Gigabyte GA-MA790XT-UD4P ASUS 5850 @ 880/1180 (1.118v) 4gb 1333mhz G.Skill DDR3 
Hard DriveHard DriveHard DriveHard Drive
64gb Crucial M4 SSD 3x 250gb WD2500JD - RAID0 1tb WD1001FALS 1tb WD10EARS 
Optical DriveCoolingOSMonitor
Pioneer DLDVD/CDRW Arctic Freezer Pro 64 Win 7 64bit Ultimate E2305 LG 23" LED 
KeyboardPowerCaseMouse
Filco Majestouch II Ninja Tenkeyless Fortron BlueStorm II 500w CM 690II Advanced Razer DeathAdder 
Mouse PadAudioAudio
generic Echo Miamidi PCI M-Audio BX5a Studio Monitors 
  hide details  
Reply
post #7 of 23
Thread Starter 
So, what kind of scripting language is needed to gather information from the command line and bring it into one to create cpu and gpu scores?
Like, I want to make somekind of app to automaticly run certain benchmark with API's or commands in the command line(sorry if I said it wrong) and make then give their resultes to a table(or whatever) and sort them out. After each value is sorted( superPi 1, 2m Furmark score, Winrar KB/s) it would group them and make an equasion or somthing to create a CPU and GPU score.
Could you do all this with C++ or would it take some pro's prgramming skills?
I'm trying to learn the language to write an app like this in for fun(no not school, I'm in 9th grade.)
AMD/ATI epicness
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD Phenom II 965BE @ 3.90GHz 1.45v MSI 790Fx MSI GTX460 1gb 4gb Gskill Ripjaws DDR3 1600 
Hard DriveOptical DriveOSMonitor
1.5TB 7200RPM Dvd Burner Windows 7 24" BenQ 
KeyboardPowerCaseMouse
Logitech G-19 1200watt KingWin ThermalTake Xaser SideWinder 
  hide details  
Reply
AMD/ATI epicness
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD Phenom II 965BE @ 3.90GHz 1.45v MSI 790Fx MSI GTX460 1gb 4gb Gskill Ripjaws DDR3 1600 
Hard DriveOptical DriveOSMonitor
1.5TB 7200RPM Dvd Burner Windows 7 24" BenQ 
KeyboardPowerCaseMouse
Logitech G-19 1200watt KingWin ThermalTake Xaser SideWinder 
  hide details  
Reply
post #8 of 23
    
CPUMotherboardGraphicsRAM
i7 930 #3951A687 @ 4.1 GIGGLEHERTZ GIGABYTE GA-EX58-UD3R EVGA GTX 470 mushkin 3GB DDR3 1600 7-8-7-20 
Hard DriveOptical DriveOSMonitor
3x Caviar Black 640GB, 2TB, HM160HI, 7200.7 etc. old 52x CD-R I found x64 Windows 7 Ultimate RTM HP w2207h 22" LCD 
KeyboardPowerCaseMouse
Rocketfish Bluetooth Seasonic X-750 Antec Nine Hundred M$ Bluetooth Mouse 5000 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
i7 930 #3951A687 @ 4.1 GIGGLEHERTZ GIGABYTE GA-EX58-UD3R EVGA GTX 470 mushkin 3GB DDR3 1600 7-8-7-20 
Hard DriveOptical DriveOSMonitor
3x Caviar Black 640GB, 2TB, HM160HI, 7200.7 etc. old 52x CD-R I found x64 Windows 7 Ultimate RTM HP w2207h 22" LCD 
KeyboardPowerCaseMouse
Rocketfish Bluetooth Seasonic X-750 Antec Nine Hundred M$ Bluetooth Mouse 5000 
  hide details  
Reply
post #9 of 23
sounds hard to do, but anything can be done if you try
post #10 of 23
It's really not that hard. I deal with c# code though, not c++. I'm too lazy to learn c and c++.

http://www.geeks3d.com/20081123/geek...ne-parameters/

Look up hyper pi. It calls superpi with many threads to use the whole cpu.

Here's c#...
Code:
ProcessStartInfo info = new ProcessStartInfo(string filename, string arguments);
        // Redirect output so we can read it.
        info.RedirectStandardOutput = true;
        //info.Arguments = TextBox1.Text;
        // To redirect, we must not use shell execute.
        info.UseShellExecute = false;

        // Create and execute the process.
        Process p = Process.Start(info);
        p.Start();

        // Send whatever was returned through the output to the client.

        Console.writeline(p.StandardOutput.ReadToEnd());
Make sure you #include System.Diagnostics. ProcessStartInfo is System.Diagnostics.ProcessStartinfo()
Code:
using System.Diagnostics;

Edited by chatch15117 - 3/10/10 at 10:59pm
    
CPUMotherboardGraphicsRAM
i7 930 #3951A687 @ 4.1 GIGGLEHERTZ GIGABYTE GA-EX58-UD3R EVGA GTX 470 mushkin 3GB DDR3 1600 7-8-7-20 
Hard DriveOptical DriveOSMonitor
3x Caviar Black 640GB, 2TB, HM160HI, 7200.7 etc. old 52x CD-R I found x64 Windows 7 Ultimate RTM HP w2207h 22" LCD 
KeyboardPowerCaseMouse
Rocketfish Bluetooth Seasonic X-750 Antec Nine Hundred M$ Bluetooth Mouse 5000 
  hide details  
Reply
    
CPUMotherboardGraphicsRAM
i7 930 #3951A687 @ 4.1 GIGGLEHERTZ GIGABYTE GA-EX58-UD3R EVGA GTX 470 mushkin 3GB DDR3 1600 7-8-7-20 
Hard DriveOptical DriveOSMonitor
3x Caviar Black 640GB, 2TB, HM160HI, 7200.7 etc. old 52x CD-R I found x64 Windows 7 Ultimate RTM HP w2207h 22" LCD 
KeyboardPowerCaseMouse
Rocketfish Bluetooth Seasonic X-750 Antec Nine Hundred M$ Bluetooth Mouse 5000 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Application Programming
Overclock.net › Forums › Software, Programming and Coding › Coding and Programming › Application Programming › Merging winrar, furmark, superpi to create something like 3dmark