Summary: This article describes code optimization in Visual C++.net 2003. In addition, some readers may not know much about the optimization of Vc.net 2002, so we will briefly introduce the whole process optimization (Whole program Optimization). Finally, we use some examples to fully show the optimization performance of vc.net and discuss it.
Objective
People in the use of a new programming tool always feel lack of self-confidence, this article tries to let you VC code optimization has a more
latest CPUs support dual-core or hyper-threading. Even if you are using a single CPU, it is hard to ensure that you upgrade it one day :).
??
?? 3) Processor type and features --> Processor family
?? This is a single-choice entry to specify a specific CPU model for optimization. You should select it with caution. If you select an incorrect option, the kernel may not work properly. For example, if you select Athlon/Duron/K7, the kernel uses 3 DNow when performing memcpy! Version with optimized i
created for 8086/8088.In addition, the INTEL386 processor also supports:
32-bit address bus supporting up to 4G of physical memory
Segmented (segmented) memory mode and flat (flat) memory mode
Paging, 4k-sized pages provide a way to "virtual memory management"
Support for parallel stages (should mean that the instruction executes several stages can be parallel)
Clock frequency is 12.5MHzIntel?486 Processor (1989)The Intel486 processor enhances the execution of instruct
cycle is shortened, the time required for each "level" is reduced accordingly, so that the CPU can run at a higher frequency.
If the Second Pipeline mode above can increase the processor clock speed to 2 GHz, we should be able to achieve twice the performance of the original processor-if the pipeline remains fully loaded.
However, this is not the case. Any internal CPU pipeline may encounter errors during pre-reading. Once an error occurs, the command must be re-executed from the first level pi
is increased, each clock cycle is shortened, the time required for each "level" is reduced accordingly, so that the CPU can run at a higher frequency. If the Second Pipeline mode above can increase the processor clock speed to 2 GHz, we should be able to achieve twice the performance of the original processor-if the pipeline remains fully loaded. However, this is not the case. Any internal CPU pipeline may encounter errors during pre-reading. Once an error occurs, the command must be re-execute
interpretation of English nouns for computer majors
1, the company and its trademark name
Microsoft: Sometimes shrinking MS is the name of the world's most famous software company, the American software giant Microsoft. Microsoft is actually composed of two English words: Micro meaning "small", soft meaning "soft", here should be "Software, software", as the name suggests, Microsoft (Microsoft) is specialized in the production of software companies. More than 90% of today's computers are loaded
2005 reporting services, Team Foundation core services, and Windows SharePoint Services. In addition, the application layer also carries the team Foundation Windows service. The team Foundation application layer also includes team Foundation build and team Foundation server proxy.
• Client layer
-The team Foundation Client layer contains team explorer, which can be used as an independent application or integrated with Visual Studio 2005 (except Visual Studio 2005 quick release. The client l
Use the cpuid Assembly command (machine code: 0fh a2h, if your compiler does not support cpuid command, only emit machine code), this command can be recognized by the following CPU:
More than 486 of Intel CPUs,
CPU above cyrix M1,
CPU above amd am486
(1) obtain the cpu oem string to determine the CPU vendor
Let eax = 0 first, then call cpuid
InEl CPU will return:
EBX: 756e6547h 'genu'EdX: 49656e69h 'inei'ECX: 6c65746eh 'ntel'EBX, EDX, and ECX will be connected to genuineintel.
The
If you want to buy a notebook, you can check it out.
At first glance, I was shocked. I haven't looked at it for a long time. The intelcpu came out with so many models. It was a bit confusing. Fortunately, I had a network and checked it and sorted it out.
The current market's CPUs include T series, P series, E Series, I3, I5, and i7.
The T series is Intel dual-core and mainly used in laptops. Including Pentium dual-core and core dual-core, less than
family: 15
Note: The CPU serial number produced by the CPU manufacturer can be used to determine which product the processor belongs.For example:The 6 series Intel processors include the Pentium Pro, Pentium II, Pentium II Xeon, Pentium III, and Pentium III Xeon processors.
Simple Guide to MySQL optimization (1. optimizing MySQL during compilation
If you distribute and install MySQL from the source code, note that the compilation process will have an important impact on the future target program. different compilation methods may obtain similar target files, however, the performance may vary greatly. Therefore, when compiling and installing MySQL, you must carefully select the most likely compilation option based on your application type. This custom MySQL can p
the utilization of various parts of the computer is low and the execution speed is slow. It is actually a x86 series (i.e. IA-32 architecture) CPU produced by Intel and its compatible CPU, such as AMD, via. Even now the new x86-64 (also be AMD64) belong to the category of CISC.
You need to know what the instruction set is, and start with the current X86 architecture CPU. The X86 instruction set is specifically developed by Intel for its first 16-bit CPU (i8086), and the cpu-i8088 (i8086 simpli
early Pentium 4 series processors, with a pin number of 478 pins. The Pentium 4 processor area of Socket 478 is small and the pins are very tightly arranged. Intel Corporation's Pentium 4 series and P4 Celeron series all use this interface, the current CPU has been phased out of the market.
However, Intel launched a new socket 478 interface in early 2006, which
Microsoft, together with Intel, AMD, ATI and Nvidia, released the basic recommended configuration requirements for Windows Vista certified PCs. Many common hardware appears in the list, so users who buy computers in recent years can be reassured. The recommended configuration requirements are as follows (including but not limited to):
-MB memory
-Use any of the following Cpu:intel core Duo, Intel Core Solo, Intel Pentium M, Mobile
End of 2015:Intel Braswell is a family of ultra-low power mobile and desktop platforms, the existing Celeron n3000/n3050/n3150, Pentium N3700 four models, wherein the N300 thermal design power consumption is only a small 4W, the other three are 6w,n3150 is a mini-machine, Thin client and other devices like the favorite, already have a large number of products.Intel today announced that it will upgrade the Braswell, with core stepping from C to D, and
for 80386
Optimizefor 80386
/G4
Optimized for 80486
Optimizefor 80486
/GR [-]
Enable C ++ RTTI
Enable C ++ RTTI
/G5
Optimize Pentium
Optimize for Pentium
/G6
Optimize for Pentium Pro
Optimize for Pentium Pro
/GX [-]
Enable C ++ Exception Handli
faster); Line Numbers Only, Only generate debugging information of global and external symbols. OBJ file or. EXE file to reduce the size of the target file; C 7.0-Compatible, record all the symbols used by the debugger. OBJ file and. EXE file; Program Database, create. all debugging information is recorded in the PDB file; Program Database for "Edit Continue", created. the PDB file records all debugging information and supports editing during debugging.
2) C ++ Language: pointer_to_member repr
Http://www.tekinginfo.com/coding/forum/cndevforum0209_0309/subject_31270.htm
-Optimization -??/O1 minimize space/OP [-] Improve floating point consistency improve floating-Pt consistency/O2 maximum speed maximize speed/OS ?? Preferred code space ?? Favor code space/OA assume there is no alias assume no aliasing/OT preferred code speed favor code speed/Ob Inline expansion (default n = 0) Inline expansion (default n = 0)/Ow ?? Suppose the alias of the cross function ?? Assume cross-function aliasi
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.