Author:admin

Date:2008-09-19T07:55:09.000000Z


git-svn-id: https://svn.eiffel.com/eiffel-org/trunk@27 abb3cda0-5349-4a8f-a601-0c33ac3a8c38
This commit is contained in:
jfiat
2008-09-19 10:22:25 +00:00
parent c7f7178710
commit 4087eb614e
367 changed files with 390 additions and 1 deletions

View File

@@ -1,5 +1,6 @@
[[Property:title|Enabling the profiler]]
[[Property:weight|4]]
[[Property:uuid|62732b12-c41f-c87e-f798-8839664dc118]]
To profile an executable, the profiler must first be enabled. To enable the profiler:
* Open the [[General Target Options|Project Settings]] dialog.
* In the '''Target''' section, enable '''Profile'''.

View File

@@ -1,5 +1,6 @@
[[Property:title|Generating executables]]
[[Property:weight|0]]
[[Property:uuid|d089f44a-9d01-41cf-9ba5-a58570ca5365]]
There are several ways to compile an executable with EiffelStudio.
Compilation modes include the following: melting, freezing and finalizing. To learn more about the compilation semantics in EiffelStudio, see the [[Compiler: introduction|compiler reference]] .

View File

@@ -1,5 +1,6 @@
[[Property:title|Generating libraries]]
[[Property:weight|1]]
[[Property:uuid|a2862dd7-1702-50b6-2505-74f9e1ac4b70]]
There are two main types of libraries in Eiffel: precompiled Eiffel libraries and C libraries. Both kinds of libraries can be created via EiffelStudio. The former can only be used in Eiffel projects, C libraries can be used either in Eiffel programs, or in standard C programs.
To generate an Eiffel precompiled library:

View File

@@ -1,5 +1,6 @@
[[Property:title|Compiling]]
[[Property:weight|3]]
[[Property:uuid|30b06b72-4988-48a0-2dae-fcf7c2e5c838]]
* [[Generating executables|Generating executables]]
* [[Generating libraries|Generating libraries]]
* [[Setting the assertion level|Changing the assertion level]]

View File

@@ -1,5 +1,6 @@
[[Property:title|Setting the assertion level]]
[[Property:weight|2]]
[[Property:uuid|af3a030c-2970-2e07-7bd4-9e9333a8a8c3]]
To modify the assertion level in a generated binary (executable or library),
* Open the [[Assertion Options|Project Settings]] dialog.
* In the '''Target, Assertions'''section, select the assertions you want to check (among require, ensure, check, loop and class invariant).

View File

@@ -1,5 +1,6 @@
[[Property:title|Tuning a program]]
[[Property:weight|6]]
[[Property:uuid|74d7c168-c9c1-2d43-fb76-4854cf4b69c7]]
The best way to speed up a program is of course to improve the algorithms and data structures you are using. Spotting the functions that slow down the execution and improving can change a lot in a program. [[Profiling|Profiling]] can be used for this.
Try to keep the number of classes and objects in your system as low as possible to ensure maximum efficiency. This should never hinder the design of the system, though.

View File

@@ -1,5 +1,6 @@
[[Property:title|Using libraries]]
[[Property:weight|5]]
[[Property:uuid|443320fa-8e5c-fd13-ed20-66e49094f3d5]]
There are two kinds of libraries in Eiffel: precompiled Eiffel libraries and C libraries.
To use an Eiffel precompiled library:

View File

@@ -1,5 +1,6 @@
[[Property:title|Using threads]]
[[Property:weight|7]]
[[Property:uuid|9f53d641-093a-38cb-50bb-568aaadfeb34]]
Eiffel supports multithreaded programs. The [[EiffelThread Library|thread library]] provides ways to handle threads safely inside an Eiffel program. Make sure you [[Adding a library|add]] it to your project if you want to use threads.
To create a multithreaded program or library: