Locale Icon
English
  • Forums

    Popular Forums

    • LTspice
    • RF and Microwave
    • Video
    • Power Management
    • Precision ADCs
    • FPGA Reference Designs
    • Linux Software Drivers

    Product Forums

    • Amplifiers
    • Microcontrollers
    • Clock and Timing
    • Data Converters
    • Direct Digital Synthesis (DDS)
    • Energy Monitoring and Metering
    • Interface and Isolation
    • MEMS Inertial Sensors
    • Power Management
    • Processors and DSP
    • Switches/Multiplexers
    • Temperature Sensors
    • Voltage References
    View All

    Application Forums

    • A2B
    • Audio
    • Automated Test Equipment (ATE)
    • Condition-Based Monitoring
    • Depth, Perception & Ranging Technologies
    • Embedded Vision Sensing Library
    • Motor Control Hardware Platforms
    • Precision Technology Signal Chains Library
    • Video
    • Wireless Sensor Networks Reference Library

    Design Center Forums

    • ACE Evaluation Software
    • ADEF System Platforms
    • Design Tools and Calculators
    • FPGA Reference Designs
    • Linux Software Drivers
    • Microcontroller no-OS Drivers
    • Reference Designs
    • Signal Chain Power (SCP)
    • Software Interface Tools
    • System Demonstration Platform (SDP) Support
  • Learn

    Highlighted Webinar

    Upcoming Webinar: µModule Solution for Intelligent Motion Control

    Precision feedback combined with advanced sensing, control, and seamless connectivity make up the building blocks for intelligent motion control. ADI offers...

    Places

    • ADI Education Home
    • ADI Webinars
    • GMSL U
    • StudentZone (Analog Dialogue)
    • Video Annex
    • Virtual Classroom

    Libraries

    • 3D ToF Depth Sensing Library
    • Continuous-Wave CMOS Time of Flight (TOF) Library
    • Embedded Vision Sensing Library
    • Gigabit Multimedia Serial Link (GMSL) Library
    • Optical Sensing Library
    • Precision Technology Signal Chains Library
    • Software Modules and SDKs Library
    • Supervisory Circuits Library
    • Wireless Sensor Networks Library

    Latest Webinars

    • Upcoming Webinar - Design High Performance Power Systems with Ultralow Noise Technology
    • Upcoming Webinar: µModule Solution for Intelligent Motion Control
    • Upcoming Webinar: Accelerating Embedded System Development with CodeFusion Studio™︎
    • Upcoming Webinar: Power Industrial PC Solutions for Robust Intelligent Edge Computing
    • Optimize Your Power Supply Designs with the Portable LTpowerAnalyzer Toolkit
    View All Webinars
  • Community Hub

    Challenge Yourself!

      KCC's Quizzes AQQ285 about analog voltmeter expertise

      1. Quote of the week: " If you think nobody cares if you're alive, try missing a few loan payments " - unknown Source: Wikimedia 2. New quiz...

    View All

    What's Brewing

      Read an EZ Blog and Test Your Knowledge

      Stay ahead in the rapidly evolving world of industrial automation! EZ Blog: How PCle Signal Isolation Is Evolving Industrial Automation explores the...

    View All

    Places

    • Community Help
    • Logic Lounge
    • Super User Program

    Resources

    • EZ Code of Conduct
    • EZ How To Help Articles
    • Getting Started Guide
    • ADI: Words Matter
    • Community Help Videos
    View All
  • Blogs

    Highlighted Blogs

    Breaking the Barriers – Why Buildings Need DAS for Cellular Connectivity: Part 1

    In the digital age, reliable and high-speed wireless connectivity is no longer a luxury but a necessity. From bustling urban centers to remote rural areas...

     

    Safety in Layers: Why a Hybrid Approach Works

    If you’ve ever been mid-design and asked yourself, “Do we really need full ISO 26262 compliance for this part?” —you’re not alone. With tight timelines...

    Latest Blogs

    • What Are the 3 Essential RF Modulation Techniques You Need to Know?
    • How Does Functional Safety Drive Automotive Innovation?
    • How to Enable Multi-Chip Synchronization (MCS)
    • How to Go from Flyback to SEPIC: Part 4 of 4
    • Develop Secure, Smart, and Connected Solutions: Part 4 of 4
    Read All Blogs

    ADI Blogs

    • EZ Spotlight
    • The Engineering Mind
  • ContentZone

    Visit ContentZone

    ContentZone

    Technical articles. Blogs. Videos. Your ADI content, all in one place.

    View ContentZone

    Featured Content

    Featured Content Title

    Blurb About Content

    View Content By Industry

    • Aerospace and Defense Systems
    • Automotive Solutions
    • Consumer Technology Solutions
    • Data Center Solutions
    • Energy Solutions
    • Healthcare Solutions
    • Industrial Automation Technology Solutions
    • Instrumentation and Measurement Solutions
    • Intelligent Building Solutions
    • Internet of Things (IoT)
    • Wireless Communication Solutions

    View Content By Technology

    • A2B Audio Bus
    • ADI OtoSense Predictive Maintenance Solutions
    • Dynamic Speaker Management
    • Gallium Nitride (GaN) Technology
    • Gigabit Multimedia Serial Link (GMSL)
    • Industrial Vision
    • Power Solutions
    • Precision Technology
    • RF
    • Security Solutions
    • Sensor Interfaces
    • SmartMesh
  • Partners

    Partner Forums

    • Boston Engineering
    • PalmSens
    • Richardson RFPD
    • Tri-Star Design, Inc.

    Partner Libraries

    • Calian, Advanced Technologies Library
    • Clockworks Signal Processing Library
    • Colorado Engineering Inc. (DBA CAES AT&E) Library
    • Epiq Solutions Library
    • Fidus Library
    • VadaTech Library
    • Vanteon Library
    • X-Microwave Library
EngineerZone
EngineerZone
VisualDSP++ Development Tools
  • Log In
  • User
  • Site
  • Search
OR
Ask a Question
VisualDSP++ Development Tools
  • Processors and DSP
  • Software and Development Tools
  • VisualDSP++ Development Tools
  • Cancel
VisualDSP++ Development Tools
Documents Purpose of GetThreadStackUsage() function in VDSP toolchain?
  • Q&A
  • Documents
  • Members
  • Tags
  • More
  • Cancel
  • Documents
  • +ADSP-21369 EZ-KIT: FAQ
  • +ADSP-BF506F: FAQ
  • +ADSP-BF592: FAQ
  • +Blackfin: FAQ
  • +DXE: FAQ
  • +How to Resolve [Error li1040]: FAQ
  • +HP-USB-ICE Emulator: FAQ
  • +ICE1000: FAQ
  • Is it possible to convert my existing floating license to node-locked license or vice versa?
  • +Project Building Error: FAQ
  • +Reset, Reload and Restart: FAQ
  • +SHARC simulator: FAQ
  • Ticks for VDK_Sleep()
  • +VDK heap: FAQ
  • -VisualDSP++: FAQ
    • A number of registers appear to be missing from sysreg.h in VisualDSP++ 5.0 compared to earlier versions
    • Able to install the base release of VisualDSP++ 5.0 without any problems but encountering a 'Could not find XML file or the XML file might be corrupted!’ message when trying to install an update. Audit
    • Advantages of using 'Run as Administrator' on Windows 7 or 8 for VisualDSP++
    • After reformatting my hard-drive and reinstalling VisualDSP I get the error "A valid license could not be found" error, and can no longer run VisualDSP.
    • Are international character sets supported by VisualDSP++?
    • Can I install your Floating License Tools on a server running Linux?
    • Can I run more than one instance of VisualDSP++ at a time?
    • Can I undo a VisualDSP++ Update or roll-back to a previous update?
    • Can we create the FPGA program with VisualDSP?
    • Compile VDSP project using make file
    • corrupt project file Error VisualDSP++ 3.0
    • Does VisualDSP++ include a Stand Alone Flash Programmer?
    • Does VisualDSP++ use absolute or relative paths?
    • Does VisualDSP++®︎ support the new ADSP-BF60x processor family? Audit
    • Error "The XML page cannot be displayed" when trying to view a linker map file
    • Error Connecting to ADSP-21489 EZ-Kit Visual DSP++
    • ftell function return value in VDSP
    • Guidelines for Posting VisualDSP++ Development Tools Issues
    • How can I obtain 90 days test drive license for VisualDSP++?
    • How can I obtain the VisualDSP++ Software License Agreement?
    • How can I obtain university license for VDSP?
    • How can I specify different compiler options for individual files in a project?
    • How can you use a C-function, defined in a separate file, in a method of a C++-class?
    • How do I configure my Firewall for a Floating License
    • How do I Enable Python script in VDSP
    • How do I move my VisualDSP++ Floating License Server to a new machine?
    • How do I use FLEXnet Licensing with more than one product? Can I combine license.dat files? Audit
    • How do I verify the Analog Devices products, versions and licenses that are installed on my computer?
    • How do you view a Map file? Audit
    • How does the IDDE know which words to syntax highlight?  Can I add my own words to this list?
    • How to build .bin in VisualDSP++
    • How to generate a makefile from a VisualDSP++ project?
    • How to generate assembly code (.s files) from Visual DSP project?
    • How to load and run a program from flash on an EZ-KIT in VisualDSP++?
    • How to run Stand-Alone Flash Programmer without VisualDSP++ environment?
    • How to transfer VisualDSP++ Floating License Server to new machine?
    • How to use License Borrowing feature of VisualDSP++
    • How to use relative paths in VisualDSP?
    • How to use the function of image processing toolbox with Visual DSP++? Audit
    • How to Verify Contents of Flash using VisualDSP++?
    • I am looking for the source files of runtime libraries which is provided by VisualDSP++ Tools. Where I can find them?
    • I have installed a Test Drive license. Why can't I create an "EZ-KIT Lite" session?
    • I need to transfer my license to a new machine (or, my hard drive crashed and had to be reformatted). How do I register my license against a new host ID? Audit
    • I uninstalled VisualDSP++ due to a problem, and now when I’m trying to reinstall my serial number I receive the message “The serial number has already been used and can be installed only once”. What should I do?
    • I've recently upgraded to VisualDSP++ 5.0 from VisualDSP++ 3.5 or earlier. My license.dat file was copied over during installation, but only Simulator sessions are now available.
    • In VDSP, can we switch between DHCP and static IP at run time Audit
    • Installation error “Error registering a file with Windows” for VDSP++ in windows 10
    • Installation Failure error in VDSP while calling 21020ICE.inf file
    • Is it possible to accept third party agreement for supporting VDSP on Windows 10
    • Is it possible to backup/restore a VisualDSP++ Session
    • Is it possible to mix objects produced by different versions of VisualDSP++?
    • Is the Green Hills Blackfin Processor development suite going to replace the VisualDSP++ suite?
    • Is there any tool in the Visual DSP that can monitor the thread occupied time?
    • I’ve just installed a full license or evaluation license and now I get a message telling me that the license will expire in X days. Audit
    • Placement of data in VisualDSP 3.5
    • Purpose of GetThreadStackUsage() function in VDSP toolchain?
    • Speeding up slow build times in VisualDSP++
    • Support for Parallel Builds in VisualDSP++
    • System requirements for VisualDSP++ and supported operating systems
    • The VisualDSP++ SAFP does not work on 64-bit machine's
    • Transforming source code asm21k .asm and .arch file from DSP21k Toolkit to VDSP 5.X.X?
    • Unable to enter breakpoints in my code in VisualDSP++.
    • Unable to view variables in the Locals window and the Expressions window displays "Expressions Window: ERROR: Unknown variable or symbol"
    • VDSP license update inquiry
    • VDSP++ doesn't show file extension into editor tabs
    • Visual DSP++ runtime error
    • VisualDSP++ 5.0 SD card driver reports incorrect size/ fails to be recognized by Windows
    • VisualDSP++ 5.1.1 Download
    • VisualDSP++ 5.1.1 users should upgrade to VisualDSP++ 5.1.2
    • VisualDSP++ and 64-bit Windows
    • VISUALDSP++ DEVELOPMENT TOOLS
    • VisualDSP++ STDIO is slow, and interrupts processing of real-world data
    • What are the differences between the Compiled Simulator and the Cycle Accurate Simulator?
    • What are the different types of licenses for VisualDSP++?
    • What is the usage of optimization pragmas in VisualDSP? Audit
    • What OS will VisualDsp run under.
    • What types does VisualDSP++ compiler use to implement enumerations and enumeration constants? Audit
    • What's New in VisualDSP++ 5.0 Update 9? Audit
    • When I try to connect to VisualDSP++ via remote desktop I encounter the following error message - ERROR: Terminal Server remote client not allowed
    • When I try to install VisualDSP++ 5.0 on my Windows 7 machine I encounter a message stating that “Windows can’t verify the publisher of this driver software”. Why?
    • When I try to start VisualDSP++ 5.0 either from the Start menu or from within the System folder nothing happens.
    • When trying to install VisualDSP++ I encounter a number of errors, such as, 'Install cannot proceed. Could not find XML file or the XML file may be corrupted'. How do i resolve this? Audit
    • Where can I find details of Tools Anomaly Reports relating to VisualDSP++? Audit
    • Where is the C source file which defines VDK functions such as CreateThread() in VisualDSP++?
    • Where is the header file that defines VDK data types such as VDK_ThreadCreationBlock?
    • Where to find out how much memory is used in Visual DSP++ for Blackfin?
    • Which versions of VisualDSP++ are supported on Windows Vista?
    • Which VisualDSP++ Updates do I need to install?
    • Why do I receive, "The serial number has already been used and can be installed only once" when entering a Test Drive license?
    • Why does my code stop working when I enable optimization? Audit
    • Why does my LDF file not open in the Expert Linker in VisualDSP++ 5.0 Update 2?
    • Why is my Blackfin LDF marked as Read Only and why cant i make modifications to the text version of the file?
    • Will my License number work with different versions of VisualDSP?
    • Windows 7 Compatibility in VisualDSP++ Development Tools
  • +Windows 8.1: FAQ

Purpose of GetThreadStackUsage() function in VDSP toolchain?

Question:
Purpose of GetThreadStackUsage() function in VDSP toolchain?

Answer:
GetThreadStackUsage() calculates the stack usage using the below method:

When configured for Full Instrumentation, VDK fills each thread stack with a known value 0xDEADBEEF. This property is then used to determine the maximum amount of stack used by a specified thread. This is done by calculating the amount of memory in words between the end of stack and the first word that no longer contains 0xDEADBEEF, this value is then subtracted from the stack size to get the stack used.

Note that the value retrieved using this method is an approximation of the maximum amount of stack that has been used up until that point.

  • Share
  • History
  • More
  • Cancel
analog-devices logo

About Analog Devices

  • Who We Are
  • Careers
  • Newsroom
  • What We Do (Signals+)
  • Investor RelationsExternalLink
  • Quality & Reliability
  • Sales and Distribution
  • What's New on Analog.com
  • Contact Us

Find Help

  • Support
  • Resources
  • WikiExternalLink
  • Analog Dialogue

Get the Latest News

Stay up to date with our latest news and articles about Analog Devices' products, design tools, trainings, and events.

Sign Up Now
  • Instagram page
  • Twitter page
  • Linkedin page
  • Youtube page
  • Facebook
  • Legal and Risk
  • Accessibility
  • Privacy Policy
  • Privacy Settings
  • Cookie Settings
沪ICP备09046653号-1

©2024 Analog Devices, Inc. All Rights Reserved

analog-devices

About Analog Devices

Down Up
  • Who We Are
  • Careers
  • Newsroom
  • What We Do (Signals+)
  • Investor RelationsExternalLink
  • Quality & Reliability
  • Sales and Distribution
  • What's New on Analog.com
  • Contact Us

Find Help

Down Up
  • Support
  • Resources
  • WikiExternalLink
  • Analog Dialogue

Get the Latest News

Stay up to date with our latest news and articles about Analog Devices' products, design tools, trainings, and events.

Instagram page Facebook Twitter page Linkedin page Youtube page
  • Legal and Risk
  • Accessibility
  • Privacy Policy
  • Privacy Settings
  • Cookie Settings
沪ICP备09046653号-1

©2024 Analog Devices, Inc. All Rights Reserved