Error checking

使用软件工具测试Intel® 平台下的WINDOWS *应用程序功耗

    这篇白皮书介绍了如何使用软件工具测试Windows*平台下应用程序的功耗。同时还介绍了如何发现一些影响软件功耗的主要因素。这篇白皮书旨在面向 ISVs, OEMs, 和其他技术相关人士。

  • Developers
  • Intel AppUp® Developers
  • Partners
  • Professors
  • Students
  • Microsoft Windows* (XP, Vista, 7)
  • Microsoft Windows* 8
  • Windows*
  • Advanced
  • Intermediate
  • Static Analysis
  • Debugging
  • Optimization
  • EmbeddedWorld Signal Processing and Power Management Workshop

    This is the conference paper describing Intel® System Studio in great detail in-lieu of the Signal Processing and Power Management Workshop.

  • Developers
  • Yocto Project
  • C/C++
  • Intermediate
  • Intel® Embedded Software Development Tool Suite for Intel® Atom™ Processor
  • Intel® System Studio
  • Embedded
  • Can't make directory /usr/tmp/.flexlm

     

    When running the Intel® Software License Manager for Linux* lmgrd you may encounter the following:

       Can't make directory /usr/tmp/.flexlm, errno: 2(No such file or directory).

    This error occurs if the directory /usr/tmp used by the license manager is missing on your system. The error however doesn't prevent the license manager from checking out licenses. The solution is to create a symbolic link /usr/tmp that points to /tmp, for example:

        # ln -s /tmp /usr/tmp

  • Developers
  • Linux*
  • Intel® License Manager for FLEXlm*
  • Don’t use multiple runs with stack collection for event-based sampling

    Problem:

    VTune™ Amplifier XE 2013 supports new feature called “Call Stack Collection” for hardware PMU event-based sampling. However if the user set option “Allow multiple runs” in vtune’s project properties and enable “Call Stack Collection” option, to run some predefined analysis such as snb-general-exploration, snb-memory-access, etc. It will cause segmentation fail. Example command line:

  • Developers
  • Linux*
  • Beginner
  • Intel® VTune™ Amplifier XE
  • VTune Amplifier XE Call Stack Multiple Runs
  • Development Tools
  • Android开发中的多线程编程技术

    多线程这个令人生畏的“洪水猛兽”,很多人谈起多线程都心存畏惧。在Android开发过程中,多线程真的很难吗?多线程程序的“麻烦”源于它很抽象、与单线程程序运行模式不同,但只要掌握了它们的区别,编写多线程程序就会很容易了。下面让我们集中精力开始学习吧!

      多线程案例——计时器

      我在给我的学生讲多线程的时候都会举一个计时器的案例,因为计时器案例是多线程的经典应用。

      这个案例中,屏幕启动之后,进入如图8-1所示的界面。

      屏幕上有一个文本框用于显示逝去的时间,此外还有一个“停止计时”按钮。案例的用例图如图8-2所示。

      

      ▲图8-1 计时器界面

  • Developers
  • Intel AppUp® Developers
  • Android*
  • MeeGo*
  • Moblin*
  • Apple Mac OS X*
  • Tizen*
  • Unix*
  • Android*
  • Tizen*
  • .NET*
  • HTML5
  • Java*
  • Python*
  • Beginner
  • Intel® Web APIs
  • Intel® Active Management Technology
  • Cluster Computing
  • Pointer Checker to detect buffer overflows and dangling pointers (part 2)

    Overview

     
    A dangling pointer arises when you use the address of an object after its lifetime. This may occur in situations like returning addresses of the automatic variables from a function or using the address of the memory block after it is freed.
  • Developers
  • Professors
  • Students
  • Linux*
  • Microsoft Windows* (XP, Vista, 7)
  • Microsoft Windows* 8
  • Unix*
  • C/C++
  • Beginner
  • Intermediate
  • Intel® C++ Compiler
  • Intel® C++ Composer XE
  • Intel® C++ Studio XE
  • pointer checker to check buffer overflow
  • dangling pointers
  • C/C++
  • out-of-bounds errors
  • pointer poroblems
  • Debugging
  • Pages

    Subscribe to Error checking