Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8795391
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T23:22:50+00:00 2026-06-13T23:22:50+00:00

I have written a C++ code to calculate the reflection of solar radiation (based

  • 0

I have written a C++ code to calculate the reflection of solar radiation (based on ray tracing principals).
I have included a number of acceleration techniques.
In my write up I have to justify these algorithms. I was going to do it purely from a time base but the comment by @weberc2 HERE makes be believe that is not the best solution.

I have looked at code analysis software like Very sleepy and AMD Code Analyst which helped to identify bottle necks etc.

As the supervisor will probably have a very poor programming knowledge a time based analysis just seems the most logical…

e.g
“Running the same scenario with the Grid active increased calculation accuracy by 20% with only a 2sec penalty on time…”

It is a single thread program.
Is it really that dangerous to use time?
Any suggestions.
Thank you all

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T23:22:51+00:00Added an answer on June 13, 2026 at 11:22 pm

    I disagree. Comparing times is perfectly fine – but with a limitation.

    A single run says nothing. This is why we have statistical tools and tests to show A is distinct then B.

    Run a series of tests, on several test cases and various conditions. Store the data (run times) in two different lists, and then run a statistical test to show one is better then the other.

    The “answer” from the statistic test is a P-Value. The P-Value says “What is the probability that you are wrong”. For example, if you had a set of tests, and you run a statisitcal test and find P_Value = 0.01. This means that with probability 99% – the two samples are distinct, and you can conclude the one with the lower average is better.

    The de-facto standard for statistical tests (at least in my field) is Wilcoxon Paired Signed Test.


    P.S. The statistical test will “prove” the assumption for the conditions it was tested on, for example – if you run it on AMD CPU, it says nothing on what will happen on Intel CPU (maybe the instruction set makes the “worse” significantly better in it).

    However, note that nevertheless, it is very acceptable and widely used in articles in fields such as AI and Information Retrieval.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have written a small piece of code to calculate quadratic equations, but if
I have written a code to calculate the hardisk size, but for some reason
I have written the below code to calculate mouse moved co-ordinates $(document).mousemove(function(e){ console.log(e.pageX +
I have written code that opens 16 figures at once. Currently, they all open
I have written code in Java to access web cam,and to save image... I
I have written code to perform a function that could take a while to
Hi I have written code like this @Id @Column(nullable=false) @GeneratedValue(strategy=GenerationType.AUTO) public int getUserID() {
I have written this code inside a servlet to delete certain records from three
I have written this code in JavaScript and works perfectly fine when I include
I have written some code that loads an XML document using an XmlDocument object

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.