MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Podręcznik Użytkownika Strona 91

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 386
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 90
The Real-Time Workshop User Interface
3-9
aFunctionInlineType=
"mode"
Controls how functions are inlined. There
are two modes:
CodeInsertion
PragmaInline
Using CodeInsertion, the code is actually
inserted where the function call would have
be made.
PragmaInline directs the Target
Language Compiler to declare the function
whentheappropriatecompilerdirective
occurs.
PragmaInlineString=
"string"
If FunctionInlineType is set to
PragmaInline, this should be set to the
directive that your compiler uses for
inlining a function (for example, for
Microsoft VC++,
"__inline")
aAutoInlineThreshold=N
When FunctionInlineMode is Automatic or
Either, this variable sets what the
threshold for the number of lines should be.
For function-call subsystem functions, the
number of line is multiplied by the number
of callers. If the count is less then this
threshold, the function is inlined.
N is any
positive integer.
Table 3-2: Target Language Compiler Optional Variables (Continued)
Variable Description
Przeglądanie stron 90
1 2 ... 86 87 88 89 90 91 92 93 94 95 96 ... 385 386

Komentarze do niniejszej Instrukcji

Brak uwag