Jump to content
Tuts 4 You

Forums

  1. General Discussions and Site Issues

    1. The Board Rules & Frequently Asked Questions   (105,615 visits to this link)

      Very important! Please read before posting...

    2. General Discussions and Off Topic

      General and off-topic conversations and discussions here...

      9,582
      posts
    3. Site Bug Reports and Technical Issues

      Bugs and issues regarding this website and board...

      1,981
      posts
  2. Reverse Code Engineering

    1. Challenge of Reverse Engineering

      Try a challenge or contribute your own, any platform or operating system...

      12,530
      posts
    2. Hardware Reverse Engineering

      Reverse engineering of hardware, firmware and industrial controllers...

      138
      posts
    3. Internet and Network Security

      Discussions on network security, holes, exploits and other issues...

      415
      posts
    4. Malware Reverse Engineering

      Debug, disassemble and document interesting trojans, virus', malware, etc.

      1,322
      posts
    5. Reverse Engineering Articles

      Share links to an interesting blog, news page or other RE related site...

      1,193
      posts
    6. Employment and Job Vacancies

      Discussions and employment opportunities in your field of expertise...

      139
      posts
    7. Search On Tuts 4 You   (40,297 visits to this link)

      Use the search engine on the main page as an additional resource...

  3. Developers Forums

    1. Programming and Coding

      Programming and coding tips, help and solutions...

      10,907
      posts
    2. Programming Resources

      Share interesting links and information from blogs, news articles and other resources...

      235
      posts
    3. Software Security

      Discussions on securing your software against reverse engineering...

      565
      posts
  4. Community Projects

    1. TitanEngine Community Edition

      The next generation reverse engineering framework...

      283
      posts
    2. Scylla Imports Reconstruction

      Development and support forum for the Scylla project...

      469
      posts
    3. x64dbg

      An open-source x64/x32 debugger for windows...

      985
      posts
    4. Future Community Projects

      Looking for support and interested partners for a future project?

      134
      posts
    5. Community Projects Archive

      Old and inactive projects moved to long term support...

      509
      posts
  5. The Demoscene

    1. Scene Artists / Demoscene

      Share your graphics, ASCII, module, demo, intro ideas and works...

      7,359
      posts
  • Posts

    • CodeExplorer
      Found something interesting:
      https://msdn.microsoft.com/en-us/library/windows/desktop/ms724408(v=vs.85).aspx
      The resolution of the GetTickCount function is limited to the resolution of the system timer, which is typically in the range of 10 milliseconds to 16 milliseconds. https://docs.microsoft.com/en-us/windows/desktop/api/timeapi/nf-timeapi-timegettime
      The default precision of the timeGetTime function can be five milliseconds or more, depending on the machine. Replaced GetTickCount with timeGetTime and result are a just bit better:
      I just have to add "#include <mmsystem.h>"

      I guess you shouldn't rely on GetTickCount/timeGetTime that much!
    • CodeExplorer
      Local variables definition versus class (instance) variable definition speed:
        int K2[3] = { 0xd76aa478, 0xe8c7b756, 0x242070db}; void Function() { int K1[3] = { 0xd76aa478, 0xe8c7b756, 0x242070db}; int before2 = GetTickCount(); for (int ki2=0;ki2<1000000;ki2++) { for (int j=0;j<3;j++) { int a = K2[j]; } } int after2 = GetTickCount(); int before1 = GetTickCount(); for (int ki1=0;ki1<1000000;ki1++) { for (int j=0;j<3;j++) { int a = K1[j]; } } int after1 = GetTickCount(); // the results: int dif1 = after1-before1; int dif2 = after2-before2; }

      K1 version (local variable version) speed suppose to be much faster since is defined on stack,
      sometimes: dif1 = 0x01F, dif2 = 0x10; sometimes have very close values and are even equal;
      and sometimes (rare) even dif1 = 0 while dif2 = 0x13
      Can someone explain what's going on?
       
    • abdelhamid
  • Blog Comments

  • File Comments

  • Image Comments

    • Copyright - Good text to fill extra space.
      I archived a copy, nice work.
      Cinema4D has some excellent tools.
      Smudge borders, add fine shadows, fisheye 3% to 6% the subject of image/off center, blur 7%, Sharpen 12% in small areas and a few highlights can take an average image to professional quality.
      Alien Effects is a great plugin for doing logos.

    • which is why its recommended to change its name... sigh
×