Skip to main content
  • 955 Accesses

Abstract

In this chapter, we cover some topics related to optimization and debugging, including debugging techniques, usage of profilers, and application of version control systems.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 99.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 129.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info
Hardcover Book
USD 129.99
Price excludes VAT (USA)
  • Durable hardcover edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    Therefore, it is also called printf debugging.

  2. 2.

    Of course you can use a debugger such as gdb if you want.

  3. 3.

    You may use watchpoints of debugger for this purpose.

  4. 4.

    The actual result contains some routines such as __static_initialization_and_destruction_0(int, int) which is automatically added routine by g++, but they are omitted.

  5. 5.

    Refer to the previous chapter for instruction pipelines and pipeline hazards.

References

  1. M.P. Allen, D.J. Tildesley, Computer Simulation of Liquids (Clarendon Press, Oxford, 1987)

    Google Scholar 

  2. K. Beck, Test Driven Development: By Example, Boston (Addison-Wesley, MA, 2003)

    Google Scholar 

  3. K. Beck, Extreme Programming Explained: Embrace Change (Addison-Wesley, Boston, MA, 2000)

    Google Scholar 

  4. J. Rasmusson, The Agile Samurai: How Agile Masters Deliver Great Software (Pragmatic Programmers, 2010)

    Google Scholar 

  5. H. Watanabe, M. Suzuki, N. Ito, Prog. Theor. Phys. 126, 203–235 (2011)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Hiroshi Watanabe .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Singapore Pte Ltd.

About this chapter

Check for updates. Verify currency and authenticity via CrossMark

Cite this chapter

Watanabe, H. (2019). Optimization and Related Topics. In: Geshi, M. (eds) The Art of High Performance Computing for Computational Science, Vol. 1. Springer, Singapore. https://doi.org/10.1007/978-981-13-6194-4_9

Download citation

  • DOI: https://doi.org/10.1007/978-981-13-6194-4_9

  • Published:

  • Publisher Name: Springer, Singapore

  • Print ISBN: 978-981-13-6193-7

  • Online ISBN: 978-981-13-6194-4

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics