MATLAB REAL-TIME WORKSHOP 7 - TARGET LANGUAGE COMPILER Uživatelská příručka Strana 91

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 386
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 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
Zobrazit stránku 90
1 2 ... 86 87 88 89 90 91 92 93 94 95 96 ... 385 386

Komentáře k této Příručce

Žádné komentáře