-
Notifications
You must be signed in to change notification settings - Fork 0
/
"clangd.format.tabSize": 4
1 lines (1 loc) · 47.4 KB
/
"clangd.format.tabSize": 4
1
{"displayTimeUnit":"ns","traceEvents":[{"pid":0,"ph":"M","name":"process_name","args":{"name":"clangd"}},{"pid":0,"ph":"M","name":"thread_name","tid":3009,"args":{"name":"clangd"}},{"pid":0,"ph":"i","name":"Log","ts":1088.396,"tid":3009,"args":{"Message":"clangd version 16.0.2 (https://github.com/llvm/llvm-project 18ddebe1a1a9bde349441631365f0472e9693520)"}},{"pid":0,"ph":"i","name":"Log","ts":1156.329,"tid":3009,"args":{"Message":"Features: linux+grpc"}},{"pid":0,"ph":"i","name":"Log","ts":1169.3150000000001,"tid":3009,"args":{"Message":"PID: 3009"}},{"pid":0,"ph":"i","name":"Log","ts":1185.8620000000001,"tid":3009,"args":{"Message":"Working directory: /home/zhangxin/g-2"}},{"pid":0,"ph":"i","name":"Log","ts":1194.0999999999999,"tid":3009,"args":{"Message":"argv[0]: /home/zhangxin/.config/Code/User/globalStorage/llvm-vs-code-extensions.vscode-clangd/install/16.0.2/clangd_16.0.2/bin/clangd"}},{"pid":0,"ph":"i","name":"Log","ts":2033.175,"tid":3009,"args":{"Message":"Starting LSP over stdin/stdout"}},{"pid":0,"ph":"i","name":"Log","ts":4106.8440000000001,"tid":3009,"args":{"Message":"<-- initialize(0)"}},{"pid":0,"ph":"i","name":"Log","ts":9526.0609999999997,"tid":3009,"args":{"Message":"--> reply:initialize(0) 5 ms"}},{"pid":0,"ph":"X","name":"initialize","ts":3686.1900000000001,"tid":3009,"dur":6406.5849999999991,"args":{"Params":{"capabilities":{"general":{"markdown":{"parser":"marked","version":"1.1.0"},"positionEncodings":["utf-16"],"regularExpressions":{"engine":"ECMAScript","version":"ES2020"},"staleRequestSupport":{"cancel":true,"retryOnContentModified":["textDocument/semanticTokens/full","textDocument/semanticTokens/range","textDocument/semanticTokens/full/delta"]}},"notebookDocument":{"synchronization":{"dynamicRegistration":true,"executionSummarySupport":true}},"textDocument":{"callHierarchy":{"dynamicRegistration":true},"codeAction":{"codeActionLiteralSupport":{"codeActionKind":{"valueSet":["","quickfix","refactor","refactor.extract","refactor.inline","refactor.rewrite","source","source.organizeImports"]}},"dataSupport":true,"disabledSupport":true,"dynamicRegistration":true,"honorsChangeAnnotations":false,"isPreferredSupport":true,"resolveSupport":{"properties":["edit"]}},"codeLens":{"dynamicRegistration":true},"colorProvider":{"dynamicRegistration":true},"completion":{"completionItem":{"commitCharactersSupport":true,"deprecatedSupport":true,"documentationFormat":["markdown","plaintext"],"insertReplaceSupport":true,"insertTextModeSupport":{"valueSet":[1,2]},"labelDetailsSupport":true,"preselectSupport":true,"resolveSupport":{"properties":["documentation","detail","additionalTextEdits"]},"snippetSupport":true,"tagSupport":{"valueSet":[1]}},"completionItemKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25]},"completionList":{"itemDefaults":["commitCharacters","editRange","insertTextFormat","insertTextMode"]},"contextSupport":true,"dynamicRegistration":true,"editsNearCursor":true,"insertTextMode":2},"declaration":{"dynamicRegistration":true,"linkSupport":true},"definition":{"dynamicRegistration":true,"linkSupport":true},"diagnostic":{"dynamicRegistration":true,"relatedDocumentSupport":false},"documentHighlight":{"dynamicRegistration":true},"documentLink":{"dynamicRegistration":true,"tooltipSupport":true},"documentSymbol":{"dynamicRegistration":true,"hierarchicalDocumentSymbolSupport":true,"labelSupport":true,"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"tagSupport":{"valueSet":[1]}},"foldingRange":{"dynamicRegistration":true,"foldingRange":{"collapsedText":false},"foldingRangeKind":{"valueSet":["comment","imports","region"]},"lineFoldingOnly":true,"rangeLimit":5000},"formatting":{"dynamicRegistration":true},"hover":{"contentFormat":["markdown","plaintext"],"dynamicRegistration":true},"implementation":{"dynamicRegistration":true,"linkSupport":true},"inlayHint":{"dynamicRegistration":true,"resolveSupport":{"properties":["tooltip","textEdits","label.tooltip","label.location","label.command"]}},"inlineValue":{"dynamicRegistration":true},"linkedEditingRange":{"dynamicRegistration":true},"onTypeFormatting":{"dynamicRegistration":true},"publishDiagnostics":{"codeDescriptionSupport":true,"dataSupport":true,"relatedInformation":true,"tagSupport":{"valueSet":[1,2]},"versionSupport":false},"rangeFormatting":{"dynamicRegistration":true},"references":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true,"honorsChangeAnnotations":true,"prepareSupport":true,"prepareSupportDefaultBehavior":1},"selectionRange":{"dynamicRegistration":true},"semanticTokens":{"augmentsSyntaxTokens":true,"dynamicRegistration":true,"formats":["relative"],"multilineTokenSupport":false,"overlappingTokenSupport":false,"requests":{"full":{"delta":true},"range":true},"serverCancelSupport":true,"tokenModifiers":["declaration","definition","readonly","static","deprecated","abstract","async","modification","documentation","defaultLibrary"],"tokenTypes":["namespace","type","class","enum","interface","struct","typeParameter","parameter","variable","property","enumMember","event","function","method","macro","keyword","modifier","comment","string","number","regexp","operator","decorator"]},"signatureHelp":{"contextSupport":true,"dynamicRegistration":true,"signatureInformation":{"activeParameterSupport":true,"documentationFormat":["markdown","plaintext"],"parameterInformation":{"labelOffsetSupport":true}}},"synchronization":{"didSave":true,"dynamicRegistration":true,"willSave":true,"willSaveWaitUntil":true},"typeDefinition":{"dynamicRegistration":true,"linkSupport":true},"typeHierarchy":{"dynamicRegistration":true}},"window":{"showDocument":{"support":true},"showMessage":{"messageActionItem":{"additionalPropertiesSupport":true}},"workDoneProgress":true},"workspace":{"applyEdit":true,"codeLens":{"refreshSupport":true},"configuration":true,"diagnostics":{"refreshSupport":true},"didChangeConfiguration":{"dynamicRegistration":true},"didChangeWatchedFiles":{"dynamicRegistration":true,"relativePatternSupport":true},"executeCommand":{"dynamicRegistration":true},"fileOperations":{"didCreate":true,"didDelete":true,"didRename":true,"dynamicRegistration":true,"willCreate":true,"willDelete":true,"willRename":true},"inlayHint":{"refreshSupport":true},"inlineValue":{"refreshSupport":true},"semanticTokens":{"refreshSupport":true},"symbol":{"dynamicRegistration":true,"resolveSupport":{"properties":["location.range"]},"symbolKind":{"valueSet":[1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26]},"tagSupport":{"valueSet":[1]}},"workspaceEdit":{"changeAnnotationSupport":{"groupsOnLabel":true},"documentChanges":true,"failureHandling":"textOnlyTransactional","normalizesLineEndings":true,"resourceOperations":["create","rename","delete"]},"workspaceFolders":true}},"clientInfo":{"name":"Visual Studio Code","version":"1.81.1"},"initializationOptions":{"clangdFileStatus":true,"fallbackFlags":[]},"locale":"zh-cn","processId":2987,"rootPath":"/home/zhangxin/g-2","rootUri":"file:///home/zhangxin/g-2","trace":"off","workspaceFolders":[{"name":"g-2","uri":"file:///home/zhangxin/g-2"}]},"Reply":{"capabilities":{"astProvider":true,"callHierarchyProvider":true,"clangdInlayHintsProvider":true,"codeActionProvider":{"codeActionKinds":["quickfix","refactor","info"]},"compilationDatabase":{"automaticReload":true},"completionProvider":{"resolveProvider":false,"triggerCharacters":[".","<",">",":","\"","/","*"]},"declarationProvider":true,"definitionProvider":true,"documentFormattingProvider":true,"documentHighlightProvider":true,"documentLinkProvider":{"resolveProvider":false},"documentOnTypeFormattingProvider":{"firstTriggerCharacter":"\n","moreTriggerCharacter":[]},"documentRangeFormattingProvider":true,"documentSymbolProvider":true,"executeCommandProvider":{"commands":["clangd.applyFix","clangd.applyTweak"]},"foldingRangeProvider":true,"hoverProvider":true,"implementationProvider":true,"inlayHintProvider":true,"memoryUsageProvider":true,"referencesProvider":true,"renameProvider":{"prepareProvider":true},"selectionRangeProvider":true,"semanticTokensProvider":{"full":{"delta":true},"legend":{"tokenModifiers":["declaration","definition","deprecated","deduced","readonly","static","abstract","virtual","dependentName","defaultLibrary","usedAsMutableReference","usedAsMutablePointer","constructorOrDestructor","userDefined","functionScope","classScope","fileScope","globalScope"],"tokenTypes":["variable","variable","parameter","function","method","function","property","variable","class","interface","enum","enumMember","type","type","unknown","namespace","typeParameter","concept","type","macro","modifier","operator","comment"]},"range":false},"signatureHelpProvider":{"triggerCharacters":["(",")","{","}","<",">",","]},"standardTypeHierarchyProvider":true,"textDocumentSync":{"change":2,"openClose":true,"save":true},"typeDefinitionProvider":true,"typeHierarchyProvider":true,"workspaceSymbolProvider":true},"serverInfo":{"name":"clangd","version":"clangd version 16.0.2 (https://github.com/llvm/llvm-project 18ddebe1a1a9bde349441631365f0472e9693520) linux+grpc x86_64-unknown-linux-gnu"}}}},{"pid":0,"ph":"i","name":"Log","ts":14037.152,"tid":3009,"args":{"Message":"<-- initialized"}},{"pid":0,"ph":"X","name":"initialized","ts":14013.903,"tid":3009,"dur":121.83300000000054,"args":{"Params":{}}},{"pid":0,"ph":"i","name":"Log","ts":28562.263999999999,"tid":3009,"args":{"Message":"<-- textDocument/didOpen"}},{"pid":0,"ph":"X","name":"AdjustCompileFlags","ts":28748.189999999999,"tid":3009,"dur":1700.2820000000029,"args":{}},{"pid":0,"ph":"X","name":"Queued:Update","ts":30705.053,"tid":3009,"dur":10.473000000001775,"args":{"PreambleRequestsNames":[],"RequestsNames":[]}},{"pid":0,"ph":"M","name":"thread_name","tid":3019,"args":{"name":"r:MODEL_Three.m"}},{"pid":0,"ph":"s","name":"Context crosses threads","ts":28537.687999999998,"tid":3009,"id":0,"cat":"mock_cat"},{"pid":0,"ph":"f","name":"Context crosses threads","ts":30788.974999999999,"tid":3019,"bp":"e","id":0,"cat":"mock_cat"},{"pid":0,"ph":"X","name":"getConfig","ts":30797.074000000001,"tid":3019,"dur":135.72599999999875,"args":{"path":"/home/zhangxin/g-2/matlab/MODEL_Three.m"}},{"pid":0,"ph":"X","name":"getConfig","ts":31142.603999999999,"tid":3019,"dur":3.2119999999995343,"args":{"path":"/home/zhangxin/g-2/matlab/MODEL_Three.m"}},{"pid":0,"ph":"i","name":"Log","ts":31261.852999999999,"tid":3019,"args":{"Message":"Failed to find compilation database for /home/zhangxin/g-2/matlab/MODEL_Three.m"}},{"pid":0,"ph":"X","name":"AdjustCompileFlags","ts":31288.524000000001,"tid":3019,"dur":39.656999999999243,"args":{}},{"pid":0,"ph":"i","name":"Log","ts":31343.330999999998,"tid":3019,"args":{"Message":"ASTWorker building file /home/zhangxin/g-2/matlab/MODEL_Three.m version 1 with command clangd fallback\n[/home/zhangxin/g-2/matlab]\n/usr/bin/clang -resource-dir=/home/zhangxin/.config/Code/User/globalStorage/llvm-vs-code-extensions.vscode-clangd/install/16.0.2/clangd_16.0.2/lib/clang/16 -- /home/zhangxin/g-2/matlab/MODEL_Three.m"}},{"pid":0,"ph":"M","name":"thread_name","tid":3020,"args":{"name":"r:MODEL_Three.m"}},{"pid":0,"ph":"i","name":"Log","ts":41090.366000000002,"tid":3020,"args":{"Message":"--> textDocument/clangd.fileStatus"}},{"pid":0,"ph":"s","name":"Context crosses threads","ts":30775.57,"tid":3019,"id":1,"cat":"mock_cat"},{"pid":0,"ph":"f","name":"Context crosses threads","ts":41711.398999999998,"tid":3020,"bp":"e","id":1,"cat":"mock_cat"},{"pid":0,"ph":"M","name":"thread_name","tid":3021,"args":{"name":"IndexStdlib"}},{"pid":0,"ph":"i","name":"Log","ts":58180.597999999998,"tid":3021,"args":{"Message":"Indexing c17 standard library in the context of /home/zhangxin/g-2/matlab/MODEL_Three.m"}},{"pid":0,"ph":"X","name":"Running PreambleCallback","ts":57315.061999999998,"tid":3020,"dur":1228.6600000000035,"args":{}},{"pid":0,"ph":"i","name":"Log","ts":59446.82,"tid":3020,"args":{"Message":"Built preamble of size 214376 for file /home/zhangxin/g-2/matlab/MODEL_Three.m version 1 in 0.02 seconds"}},{"pid":0,"ph":"X","name":"BuildPreamble","ts":41689.616000000002,"tid":3020,"dur":17811.940999999999,"args":{"File":"/home/zhangxin/g-2/matlab/MODEL_Three.m"}},{"pid":0,"ph":"i","name":"Log","ts":59608.938000000002,"tid":3020,"args":{"Message":"--> workspace/semanticTokens/refresh(0)"}},{"pid":0,"ph":"i","name":"Log","ts":59679.453999999998,"tid":3019,"args":{"Message":"--> textDocument/clangd.fileStatus"}},{"pid":0,"ph":"X","name":"getConfig","ts":59720.506999999998,"tid":3019,"dur":10.543000000005122,"args":{"path":"/home/zhangxin/g-2/matlab/MODEL_Three.m"}},{"pid":0,"ph":"X","name":"CreatePreamblePatch","ts":59797.377,"tid":3019,"dur":2480.7090000000026,"args":{"File":"/home/zhangxin/g-2/matlab/MODEL_Three.m"}},{"pid":0,"ph":"i","name":"Log","ts":64327.947999999997,"tid":3009,"args":{"Message":"<-- reply(0)"}},{"pid":0,"ph":"X","name":"ClangTidyOpts","ts":62342.597999999998,"tid":3019,"dur":3838.6030000000028,"args":{}},{"pid":0,"ph":"X","name":"ClangTidyInit","ts":68109.928,"tid":3019,"dur":4119.0629999999946,"args":{}},{"pid":0,"ph":"X","name":"MemIndex fuzzyFind","ts":73836.483999999997,"tid":3019,"dur":24.716000000000349,"args":{"results":0}},{"pid":0,"ph":"X","name":"MemIndex fuzzyFind","ts":73895.550000000003,"tid":3019,"dur":2.3739999999961583,"args":{"results":0}},{"pid":0,"ph":"X","name":"MergedIndex fuzzyFind","ts":73829.293000000005,"tid":3019,"dur":74.985000000000582,"args":{"dynamic":0,"merged":0,"static":0,"static_dropped":0}},{"pid":0,"ph":"X","name":"MemIndex fuzzyFind","ts":73915.099000000002,"tid":3019,"dur":2.3040000000037253,"args":{"results":0}},{"pid":0,"ph":"X","name":"ProjectAwareIndex::fuzzyFind","ts":73925.013999999996,"tid":3019,"dur":2.3730000000068685,"args":{}},{"pid":0,"ph":"X","name":"MergedIndex fuzzyFind","ts":73912.725999999995,"tid":3019,"dur":18.919999999998254,"args":{"dynamic":0,"merged":0,"static":0,"static_dropped":0}},{"pid":0,"ph":"X","name":"MergedIndex fuzzyFind","ts":73823.149000000005,"tid":3019,"dur":114.71099999999569,"args":{"dynamic":0,"merged":0,"static":0,"static_dropped":0}},{"pid":0,"ph":"X","name":"MemIndex fuzzyFind","ts":74074.423999999999,"tid":3019,"dur":1.885999999998603,"args":{"results":0}},{"pid":0,"ph":"X","name":"MemIndex fuzzyFind","ts":74089.645000000004,"tid":3019,"dur":1.9550000000017462,"args":{"results":0}},{"pid":0,"ph":"X","name":"MergedIndex fuzzyFind","ts":74071.142999999996,"tid":3019,"dur":24.855000000010477,"args":{"dynamic":0,"merged":0,"static":0,"static_dropped":0}},{"pid":0,"ph":"X","name":"MemIndex fuzzyFind","ts":74104.934999999998,"tid":3019,"dur":1.8850000000093132,"args":{"results":0}},{"pid":0,"ph":"X","name":"ProjectAwareIndex::fuzzyFind","ts":74112.126000000004,"tid":3019,"dur":1.8849999999947613,"args":{}},{"pid":0,"ph":"X","name":"MergedIndex fuzzyFind","ts":74102.142000000007,"tid":3019,"dur":16.61699999999837,"args":{"dynamic":0,"merged":0,"static":0,"static_dropped":0}},{"pid":0,"ph":"X","name":"MergedIndex fuzzyFind","ts":74067.861999999994,"tid":3019,"dur":55.226000000009662,"args":{"dynamic":0,"merged":0,"static":0,"static_dropped":0}},{"pid":0,"ph":"X","name":"MemIndex fuzzyFind","ts":74251.134000000005,"tid":3019,"dur":1.9550000000017462,"args":{"results":0}},{"pid":0,"ph":"X","name":"MemIndex fuzzyFind","ts":74262.235000000001,"tid":3019,"dur":1.8849999999947613,"args":{"results":0}},{"pid":0,"ph":"X","name":"MergedIndex fuzzyFind","ts":74247.782999999996,"tid":3019,"dur":21.085000000006403,"args":{"dynamic":0,"merged":0,"static":0,"static_dropped":0}},{"pid":0,"ph":"X","name":"MemIndex fuzzyFind","ts":74277.316000000006,"tid":3019,"dur":2.3739999999961583,"args":{"results":0}},{"pid":0,"ph":"X","name":"ProjectAwareIndex::fuzzyFind","ts":74284.577000000005,"tid":3019,"dur":1.8849999999947613,"args":{}},{"pid":0,"ph":"X","name":"MergedIndex fuzzyFind","ts":74274.523000000001,"tid":3019,"dur":16.267999999996391,"args":{"dynamic":0,"merged":0,"static":0,"static_dropped":0}},{"pid":0,"ph":"X","name":"MergedIndex fuzzyFind","ts":74244.432000000001,"tid":3019,"dur":51.595000000001164,"args":{"dynamic":0,"merged":0,"static":0,"static_dropped":0}},{"pid":0,"ph":"X","name":"ClangTidyMatch","ts":80853.629000000001,"tid":3019,"dur":631.43600000000151,"args":{}},{"pid":0,"ph":"X","name":"BuildAST","ts":59753.879999999997,"tid":3019,"dur":21865.934000000001,"args":{"File":"/home/zhangxin/g-2/matlab/MODEL_Three.m"}},{"pid":0,"ph":"i","name":"Log","ts":82472.922000000006,"tid":3019,"args":{"Message":"--> textDocument/publishDiagnostics"}},{"pid":0,"ph":"X","name":"ASTSignals::derive","ts":82662.478000000003,"tid":3019,"dur":518.25999999999476,"args":{}},{"pid":0,"ph":"X","name":"Running main AST callback","ts":81669.733999999997,"tid":3019,"dur":1528.3890000000101,"args":{}},{"pid":0,"ph":"X","name":"Build AST","ts":59712.966999999997,"tid":3019,"dur":23494.163000000008,"args":{}},{"pid":0,"ph":"X","name":"Update","ts":30775.57,"tid":3019,"dur":28851.381000000001,"args":{}},{"pid":0,"ph":"X","name":"textDocument/didOpen","ts":28537.687999999998,"tid":3009,"dur":2420.3860000000022,"args":{"Params":{"textDocument":{"languageId":"objective-c","text":"%%\n%%%%%%%%%%%%%% 针对Model 3,挑选合适的正则化参数的选取方法。\n%%\ntic;\nclc; close all; clear all;\nformat long\nX1=0;\nX2=2;\n\nY1=X2+0.01;\nY2=30+0.01;\n\nn=(X2-X1)*1000+1;\nm=(Y2-Y1)*100+1;\n\nhx=(X2-X1)/(n-1);\nhy=(Y2-Y1)/(m-1);\nx=(X1:hx:X2)';\ny=(Y1:hy:Y2)';\n%%\nfV1=0.22; m1=0.78; gamma1=0.15;\nfV2=0.19; m2=1.46; gamma2=0.4;\nfV3=0.14; m3=1.72; gamma3=0.25;\nfV4=0.14; m4=1.90; gamma4=0.1; \n\nf=@(x,M,G,F) F^2*((M^4+M^2*G^2)./(24*pi*((x-M^2).^2+M^2*G^2)));\n\nf1=f(x,m1,gamma1,1); \nf2=f(x,m2,gamma2,1); \nf3=f(x,m3,gamma3,1); \nf4=f(x,m4,gamma4,1); \n\nF=f1+f2+f3+f4;\n%%\n% f1=@(x) sin(2*pi*x);\nF1=f1;\nfor i=1:m\n G1(i,1)=trapz(x,1./(y(i)-x).*F1);\nend\n\nf2=@(x) x-x;\nF2=f2(x);\nfor i=1:m\n G2(i,1)=trapz(x,1./(y(i)-x).*F2);\nend\nB1=1; B2=2;\nXD=1.01;\nb1=XD*B1;b2=XD*B2;%%%%%%%%%%%误差参数的大小\nf_exact=B1*F1+B2*F2;\nf_delta=b1*F1+b2*F2;\n\ng_exact=B1*G1+B2*G2;\ng_delta=b1*G1+b2*G2;\n%%\n% f_exact=F1+2*F2;\n% g_exact=G1+2*G2;\n% \n% eps=0.001; %%% 真实算出来的相对误差是eps的一半\n% f_delta=f_exact+eps*f_exact.*(2*rand(length(f_exact),1)-1);\n% g_delta=g_exact+eps*g_exact.*(2*rand(length(g_exact),1)-1);\n% G_err=trapz(y,(g_delta-g_exact).^2)/trapz(y,(g_exact).^2);\n\n% figure(4)\n% plot(y,g_exact,y,g_delta)\n% title(sqrt(G_err))\n%%\n% MM=b1*f1(X1)+b2*f2(X1);\n% NN=b1*f1(X2)+b2*f2(X2);\nMM=f_delta(1); NN=f_delta(length(x));\nV_exact=(MM*(x-X2))/(X1-X2)+(NN*(x-X1))/(X2-X1);\nfor i=1:m\n G3(i,1)=trapz(x,1./(y(i)-x).*V_exact);\nend\nU_exact=f_exact-V_exact;\nG_exact=g_exact-G3;\nG_delta=g_delta-G3;\n%%\nA=zeros(n,n);\nAphi=zeros(m,n);\nfor j=2:n-1\n Aphi(:,j)=1/hx*((y-x(j-1)).*log(y-x(j-1))+(x(j-1)-x(j))+(y-x(j+1)).*log(y-x(j+1))-2*(y-x(j)).*log(y-x(j))-(x(j)-x(j+1)));\nend\nAphi(:,1)=log(y-x(1))+1/hx*((y-x(2)).*log(y-x(2))-(y-x(1)).*log(y-x(1))-(x(1)-x(2)));\nAphi(:,n)=-log(y-x(n))+1/hx*(-(y-x(n)).*log(y-x(n))+(y-x(n-1)).*log(y-x(n-1))+(x(n-1)-x(n)));\n%%\nfor i=1:n\n for j=1:n\n A(i,j)=trapz(y,Aphi(:,i).*Aphi(:,j));\n end\n ba(i,1)=trapz(y,Aphi(:,i).*G_delta);\nend\n%%\nM=zeros(n,n);\nM(1,1)=4;\nM(1,2)=2;\nfor i=2:n-1\n M(i,i)=8;\n M(i,i-1)=2;\n M(i,i+1)=2;\nend\nM(n,n)=4;\nM(n,n-1)=2;\nM=hx/12*M;\n%%\nM1=zeros(n,n);\nM1(1,1)=1;\nM1(1,2)=-1;\nfor i=2:n-1\n M1(i,i)=2;\n M1(i,i-1)=-1;\n M1(i,i+1)=-1;\nend\nM1(n,n)=1;\nM1(n,n-1)=-1;\nM1=(1/hx)*M1;\nH1=M+M1;\n\nA(:,1)=[];A(:,n-1)=[];A(1,:)=[];A(n-1,:)=[];\nba(1)=[];ba(n-1)=[];\nH1(:,1)=[];H1(:,n-1)=[];H1(1,:)=[];H1(n-1,:)=[];\n%%\nite=20;\nfor k=1:ite\n alpha(k)=10^(-k);\n ua(:,k)=inv(A+alpha(k)*H1)*ba;\n Ua(:,k)=[0;ua(:,k);0];\n fa(:,k)=Ua(:,k)+V_exact;\n res(k)=sqrt(trapz(y,(Aphi*fa(:,k)-g_delta).^2));\n err(k)=sqrt(trapz(x,(fa(:,k)-f_exact).^2));\n\n L(k)=sqrt(trapz(x,fa(:,k).^2))*res(k);%%%%%%%%%%%%L曲线法的选取标准\n\n LH(k)=sqrt(trapz(x,fa(:,k).^2+(gradient(fa(:,k))).^2))*res(k);\n\n figure(1)\n subplot(4,5,k);\n plot(x,f_exact,x,fa(:,k),'LineWidth',3);\n title({alpha(k)})\nend\n%%\nkl=find(L==min(abs(L)));\n\nklh=find(LH==min(abs(LH)));\n%%\nI1=eye(length(y));\nI2=eye(length(x));\nfor i=1:20\n VV=I1-Aphi*inv(Aphi'*Aphi+alpha(i)*I2)*Aphi';\n V1=norm(VV*g_delta)^2;\n V2=trace(VV)^2;\n V(i,1)=V1/V2;\nend\n[Vm,Vi]=min(V);\n%%\nfor i=1:20\n Rho(i,1)=norm(alpha(i)*(Aphi'*Aphi+alpha(i)*I2)\\fa(:,i)); \nend\n[Rm,Ri]=min(Rho);\n%%\n{'L-curve+L^2','L-curve+H^1','GCV','拟最优';...\n kl,klh,Vi,Ri}\n%%\ntoc;","uri":"file:///home/zhangxin/g-2/matlab/MODEL_Three.m","version":1}}}},{"pid":0,"ph":"i","name":"Log","ts":83280.648000000001,"tid":3019,"args":{"Message":"--> textDocument/clangd.fileStatus"}},{"pid":0,"ph":"i","name":"Log","ts":102051.473,"tid":3009,"args":{"Message":"<-- textDocument/documentLink(1)"}},{"pid":0,"ph":"X","name":"Queued:DocumentLinks","ts":102102.859,"tid":3009,"dur":4.3280000000086147,"args":{"PreambleRequestsNames":[],"RequestsNames":[]}},{"pid":0,"ph":"s","name":"Context crosses threads","ts":102031.923,"tid":3009,"id":2,"cat":"mock_cat"},{"pid":0,"ph":"f","name":"Context crosses threads","ts":102158.29399999999,"tid":3019,"bp":"e","id":2,"cat":"mock_cat"},{"pid":0,"ph":"i","name":"Log","ts":102169.535,"tid":3009,"args":{"Message":"<-- textDocument/inlayHint(2)"}},{"pid":0,"ph":"X","name":"getConfig","ts":102164.36900000001,"tid":3019,"dur":8.0289999999949941,"args":{"path":"/home/zhangxin/g-2/matlab/MODEL_Three.m"}},{"pid":0,"ph":"i","name":"Log","ts":102193.762,"tid":3019,"args":{"Message":"--> reply:textDocument/documentLink(1) 0 ms"}},{"pid":0,"ph":"X","name":"DocumentLinks","ts":102151.173,"tid":3019,"dur":67.235000000000582,"args":{}},{"pid":0,"ph":"X","name":"textDocument/documentLink","ts":102031.923,"tid":3009,"dur":82.525999999998021,"args":{"Params":{"textDocument":{"uri":"file:///home/zhangxin/g-2/matlab/MODEL_Three.m"}},"Reply":[]}},{"pid":0,"ph":"X","name":"Queued:InlayHints","ts":102195.158,"tid":3009,"dur":4.1889999999984866,"args":{"CurrentRequest":"DocumentLinks","PreambleRequestsNames":[],"RequestsNames":[]}},{"pid":0,"ph":"s","name":"Context crosses threads","ts":102135.743,"tid":3009,"id":3,"cat":"mock_cat"},{"pid":0,"ph":"f","name":"Context crosses threads","ts":102243.682,"tid":3019,"bp":"e","id":3,"cat":"mock_cat"},{"pid":0,"ph":"X","name":"getConfig","ts":102249.477,"tid":3019,"dur":4.2590000000054715,"args":{"path":"/home/zhangxin/g-2/matlab/MODEL_Three.m"}},{"pid":0,"ph":"i","name":"Log","ts":102304.21400000001,"tid":3019,"args":{"Message":"--> reply:textDocument/inlayHint(2) 0 ms"}},{"pid":0,"ph":"X","name":"InlayHints","ts":102239.353,"tid":3019,"dur":79.663000000000466,"args":{}},{"pid":0,"ph":"X","name":"textDocument/inlayHint","ts":102135.743,"tid":3009,"dur":69.259999999994761,"args":{"Params":{"range":{"end":{"character":7,"line":88},"start":{"character":0,"line":0}},"textDocument":{"uri":"file:///home/zhangxin/g-2/matlab/MODEL_Three.m"}},"Reply":[]}},{"pid":0,"ph":"i","name":"Log","ts":102344.848,"tid":3019,"args":{"Message":"--> textDocument/clangd.fileStatus"}},{"pid":0,"ph":"i","name":"Log","ts":103178.68700000001,"tid":3009,"args":{"Message":"<-- textDocument/semanticTokens/full(3)"}},{"pid":0,"ph":"X","name":"Queued:SemanticHighlights","ts":103193.837,"tid":3009,"dur":1.885999999998603,"args":{"PreambleRequestsNames":[],"RequestsNames":[]}},{"pid":0,"ph":"s","name":"Context crosses threads","ts":103170.099,"tid":3009,"id":4,"cat":"mock_cat"},{"pid":0,"ph":"f","name":"Context crosses threads","ts":103232.307,"tid":3019,"bp":"e","id":4,"cat":"mock_cat"},{"pid":0,"ph":"X","name":"getConfig","ts":103239.499,"tid":3019,"dur":6.6319999999977881,"args":{"path":"/home/zhangxin/g-2/matlab/MODEL_Three.m"}},{"pid":0,"ph":"i","name":"Log","ts":103608.348,"tid":3019,"args":{"Message":"--> reply:textDocument/semanticTokens/full(3) 0 ms"}},{"pid":0,"ph":"X","name":"SemanticHighlights","ts":103226.652,"tid":3019,"dur":458.07700000000477,"args":{}},{"pid":0,"ph":"X","name":"textDocument/semanticTokens/full","ts":103170.099,"tid":3009,"dur":31.418000000005122,"args":{"Params":{"textDocument":{"uri":"file:///home/zhangxin/g-2/matlab/MODEL_Three.m"}},"Reply":{"data":[4,0,3,0,131075,0,11,3,0,131075,0,11,3,0,131075,2,0,2,0,131075,1,0,2,0,131075,2,0,2,0,131075,0,3,2,0,131072,0,2,1,21,0,1,0,2,0,131075,0,5,1,21,0,2,0,1,0,131075,0,3,2,0,131072,0,2,1,21,8192,0,4,1,21,8192,0,5,1,21,8192,1,0,1,0,131075,0,3,2,0,131072,0,2,1,21,0,0,1,2,0,131072,0,3,1,21,0,0,4,1,21,0,2,0,2,0,131075,0,4,2,0,131072,0,2,1,21,8192,0,4,1,21,8192,0,2,1,0,131072,0,1,1,21,0,1,0,2,0,131075,0,4,2,0,131072,0,2,1,21,0,0,1,2,0,131072,0,3,1,21,0,0,2,1,0,131072,0,1,1,21,0,1,0,1,0,131075,3,10,2,0,131075,0,9,6,0,131075,1,0,3,0,131075,0,10,2,0,131075,0,9,6,0,131075,1,0,3,0,131075,0,10,2,0,131075,0,9,6,0,131075,1,0,3,0,131075,0,10,2,0,131075,0,9,6,0,131075,2,0,1,0,131075,2,0,2,0,131075,0,3,1,0,131072,0,2,1,0,131072,0,2,2,0,131072,0,3,6,0,131072,1,0,2,0,131075,0,3,1,0,131072,0,2,1,0,131072,0,2,2,0,131072,0,3,6,0,131072,1,0,2,0,131075,0,3,1,0,131072,0,2,1,0,131072,0,2,2,0,131072,0,3,6,0,131072,1,0,2,0,131075,0,3,1,0,131072,0,2,1,0,131072,0,2,2,0,131072,0,3,6,0,131072,2,0,1,0,131075,0,2,2,0,131072,0,2,1,21,0,0,1,2,0,131072,0,2,1,21,0,0,1,2,0,131072,0,2,1,21,0,0,1,2,0,131072,3,0,2,0,131075,0,3,2,0,131072,5,0,2,0,131075,1,0,2,0,131075,0,3,2,0,131072,0,3,1,0,131072,4,0,2,0,131075,0,6,2,0,131075,1,0,2,0,131075,1,0,2,0,131075,0,3,2,0,131072,0,2,1,21,8192,0,4,2,0,131075,0,3,2,0,131072,0,2,1,21,0,0,1,2,0,131072,2,0,7,0,131075,0,8,2,0,131072,0,2,1,21,0,0,1,2,0,131072,0,2,1,21,0,0,1,2,0,131072,0,2,1,21,0,0,1,2,0,131072,2,0,7,0,131075,1,0,7,0,131075,16,0,2,0,131075,0,3,7,0,131072,0,12,2,0,131075,0,3,7,0,131072,0,8,6,3,131072,0,7,1,0,131072,1,0,7,0,131075,0,9,2,0,131072,0,2,1,21,0,0,2,1,0,131072,0,1,1,21,0,0,1,2,0,131072,0,4,1,21,8192,0,4,1,21,8192,0,1,2,0,131072,0,3,1,21,8192,0,2,2,0,131072,0,2,1,21,8192,0,2,1,0,131072,0,1,1,21,8192,0,5,1,21,8192,0,2,2,0,131072,0,2,1,21,8192,4,0,7,0,131075,1,0,7,0,131075,1,0,7,0,131075,3,0,4,0,131075,0,5,5,3,131072,0,6,1,0,131072,0,2,1,0,131072,4,0,4,3,131073,1,0,4,3,131073,6,4,2,3,131073,4,0,1,3,131073,1,0,1,3,131073,3,3,1,3,131073,1,3,1,3,131073,2,0,1,3,131073,1,0,1,3,131073,1,0,1,0,131075,3,0,2,3,131073,1,0,2,3,131073,3,3,2,3,131073,1,3,2,3,131073,2,0,2,3,131073,1,0,2,3,131073,1,0,2,0,131075,1,0,2,0,131075,0,4,1,21,8192,2,0,1,3,131073,0,10,1,3,131073,0,12,1,3,131073,0,10,1,3,131073,1,0,2,3,131073,0,9,2,3,131073,1,0,2,3,131073,0,11,2,3,131073,0,13,2,3,131073,0,11,2,3,131073,5,4,2,3,131073,1,4,2,3,131073,0,11,2,3,131073,1,4,2,3,131073,1,4,3,3,131073,1,4,3,3,131073,2,4,1,3,131073,6,4,4,3,131073,6,0,3,0,131075,3,0,2,0,131075,0,3,3,3,131072,0,4,6,3,131072,0,7,1,0,131072],"resultId":"1"}}},{"pid":0,"ph":"i","name":"Log","ts":103768.86,"tid":3019,"args":{"Message":"--> textDocument/clangd.fileStatus"}},{"pid":0,"ph":"i","name":"Log","ts":117790.86199999999,"tid":3009,"args":{"Message":"<-- textDocument/codeAction(4)"}},{"pid":0,"ph":"X","name":"Queued:EnumerateTweaks","ts":117845.17999999999,"tid":3009,"dur":2.8630000000121072,"args":{"PreambleRequestsNames":[],"RequestsNames":[]}},{"pid":0,"ph":"s","name":"Context crosses threads","ts":117768.171,"tid":3009,"id":5,"cat":"mock_cat"},{"pid":0,"ph":"f","name":"Context crosses threads","ts":117895.379,"tid":3019,"bp":"e","id":5,"cat":"mock_cat"},{"pid":0,"ph":"X","name":"getConfig","ts":117903.827,"tid":3019,"dur":9.5659999999916181,"args":{"path":"/home/zhangxin/g-2/matlab/MODEL_Three.m"}},{"pid":0,"ph":"i","name":"Log","ts":118006.67,"tid":3019,"args":{"Message":"--> reply:textDocument/codeAction(4) 0 ms"}},{"pid":0,"ph":"X","name":"EnumerateTweaks","ts":117889.166,"tid":3019,"dur":146.82700000000477,"args":{}},{"pid":0,"ph":"X","name":"textDocument/codeAction","ts":117768.171,"tid":3009,"dur":88.528999999994994,"args":{"Params":{"context":{"diagnostics":[],"triggerKind":2},"range":{"end":{"character":31,"line":58},"start":{"character":29,"line":58}},"textDocument":{"uri":"file:///home/zhangxin/g-2/matlab/MODEL_Three.m"}},"Reply":[]}},{"pid":0,"ph":"i","name":"Log","ts":118066.504,"tid":3019,"args":{"Message":"--> textDocument/clangd.fileStatus"}},{"pid":0,"ph":"i","name":"Log","ts":143825.568,"tid":3021,"args":{"Message":"Indexed c17 standard library: 2839 symbols, 0 filtered"}},{"pid":0,"ph":"X","name":"StandardLibraryIndex","ts":58157.139000000003,"tid":3021,"dur":86183.82699999999,"args":{"symbols":2839}},{"pid":0,"ph":"i","name":"Log","ts":397471.45199999999,"tid":3009,"args":{"Message":"<-- textDocument/foldingRange(5)"}},{"pid":0,"ph":"M","name":"thread_name","tid":3026,"args":{"name":"FoldingRanges"}},{"pid":0,"ph":"X","name":"WaitForFreeSemaphoreSlot","ts":397751.70199999999,"tid":3026,"dur":15.77900000003865,"args":{}},{"pid":0,"ph":"s","name":"Context crosses threads","ts":397446.73599999998,"tid":3009,"id":6,"cat":"mock_cat"},{"pid":0,"ph":"f","name":"Context crosses threads","ts":397790.52100000001,"tid":3026,"bp":"e","id":6,"cat":"mock_cat"},{"pid":0,"ph":"X","name":"getConfig","ts":397783.88799999998,"tid":3026,"dur":15.77900000003865,"args":{"path":"/home/zhangxin/g-2/matlab/MODEL_Three.m"}},{"pid":0,"ph":"i","name":"Log","ts":398052.89799999999,"tid":3026,"args":{"Message":"--> reply:textDocument/foldingRange(5) 0 ms"}},{"pid":0,"ph":"X","name":"textDocument/foldingRange","ts":397446.73599999998,"tid":3009,"dur":242.20000000001164,"args":{"Params":{"textDocument":{"uri":"file:///home/zhangxin/g-2/matlab/MODEL_Three.m"}},"Reply":[]}},{"pid":0,"ph":"i","name":"Log","ts":544761.36199999996,"tid":3009,"args":{"Message":"<-- textDocument/inlayHint(6)"}},{"pid":0,"ph":"X","name":"Queued:InlayHints","ts":544812.53899999999,"tid":3009,"dur":4.3279999999795109,"args":{"PreambleRequestsNames":[],"RequestsNames":[]}},{"pid":0,"ph":"s","name":"Context crosses threads","ts":544737.554,"tid":3009,"id":7,"cat":"mock_cat"},{"pid":0,"ph":"f","name":"Context crosses threads","ts":544867.90399999998,"tid":3019,"bp":"e","id":7,"cat":"mock_cat"},{"pid":0,"ph":"X","name":"getConfig","ts":544874.53700000001,"tid":3019,"dur":8.2389999999431893,"args":{"path":"/home/zhangxin/g-2/matlab/MODEL_Three.m"}},{"pid":0,"ph":"i","name":"Log","ts":544926.97100000002,"tid":3019,"args":{"Message":"--> reply:textDocument/inlayHint(6) 0 ms"}},{"pid":0,"ph":"X","name":"InlayHints","ts":544859.80599999998,"tid":3019,"dur":87.831000000005588,"args":{}},{"pid":0,"ph":"X","name":"textDocument/inlayHint","ts":544737.554,"tid":3009,"dur":89.856000000028871,"args":{"Params":{"range":{"end":{"character":16,"line":110},"start":{"character":0,"line":0}},"textDocument":{"uri":"file:///home/zhangxin/g-2/matlab/MODEL_Three.m"}},"Reply":[]}},{"pid":0,"ph":"i","name":"Log","ts":544973.26000000001,"tid":3019,"args":{"Message":"--> textDocument/clangd.fileStatus"}},{"pid":0,"ph":"i","name":"Log","ts":1266178.3640000001,"tid":3009,"args":{"Message":"<-- textDocument/codeAction(7)"}},{"pid":0,"ph":"i","name":"Log","ts":1266267.452,"tid":3009,"args":{"Message":"<-- $/cancelRequest"}},{"pid":0,"ph":"X","name":"$/cancelRequest","ts":1266261.1680000001,"tid":3009,"dur":18.362999999895692,"args":{"Params":{"id":7}}},{"pid":0,"ph":"X","name":"Queued:EnumerateTweaks","ts":1266235.9639999999,"tid":3009,"dur":4.3290000001434237,"args":{"PreambleRequestsNames":[],"RequestsNames":[]}},{"pid":0,"ph":"s","name":"Context crosses threads","ts":1266142.547,"tid":3009,"id":8,"cat":"mock_cat"},{"pid":0,"ph":"f","name":"Context crosses threads","ts":1266305.433,"tid":3019,"bp":"e","id":8,"cat":"mock_cat"},{"pid":0,"ph":"X","name":"getConfig","ts":1266314.0900000001,"tid":3019,"dur":8.7979999999515712,"args":{"path":"/home/zhangxin/g-2/matlab/MODEL_Three.m"}},{"pid":0,"ph":"i","name":"Log","ts":1266341.459,"tid":3019,"args":{"Message":"--> reply:textDocument/codeAction(7) 0 ms, error: Task was cancelled."}},{"pid":0,"ph":"X","name":"EnumerateTweaks","ts":1266299.2890000001,"tid":3019,"dur":70.795999999856576,"args":{}},{"pid":0,"ph":"X","name":"textDocument/codeAction","ts":1266142.547,"tid":3009,"dur":107.86899999994785,"args":{"Error":"Task was cancelled.","Params":{"context":{"diagnostics":[],"triggerKind":2},"range":{"end":{"character":31,"line":58},"start":{"character":29,"line":58}},"textDocument":{"uri":"file:///home/zhangxin/g-2/matlab/MODEL_Three.m"}}}},{"pid":0,"ph":"i","name":"Log","ts":1266396.7549999999,"tid":3019,"args":{"Message":"--> textDocument/clangd.fileStatus"}},{"pid":0,"ph":"i","name":"Log","ts":1267123.841,"tid":3009,"args":{"Message":"<-- textDocument/codeAction(8)"}},{"pid":0,"ph":"X","name":"Queued:EnumerateTweaks","ts":1267158.611,"tid":3009,"dur":3.3510000000242144,"args":{"PreambleRequestsNames":[],"RequestsNames":[]}},{"pid":0,"ph":"s","name":"Context crosses threads","ts":1267105.689,"tid":3009,"id":9,"cat":"mock_cat"},{"pid":0,"ph":"f","name":"Context crosses threads","ts":1267273.601,"tid":3019,"bp":"e","id":9,"cat":"mock_cat"},{"pid":0,"ph":"X","name":"getConfig","ts":1267279.2560000001,"tid":3019,"dur":6.1439999998547137,"args":{"path":"/home/zhangxin/g-2/matlab/MODEL_Three.m"}},{"pid":0,"ph":"i","name":"Log","ts":1267383.2849999999,"tid":3019,"args":{"Message":"--> reply:textDocument/codeAction(8) 0 ms"}},{"pid":0,"ph":"X","name":"EnumerateTweaks","ts":1267269.831,"tid":3019,"dur":128.74499999987893,"args":{}},{"pid":0,"ph":"X","name":"textDocument/codeAction","ts":1267105.689,"tid":3009,"dur":64.442000000039116,"args":{"Params":{"context":{"diagnostics":[],"triggerKind":2},"range":{"end":{"character":31,"line":58},"start":{"character":29,"line":58}},"textDocument":{"uri":"file:///home/zhangxin/g-2/matlab/MODEL_Three.m"}},"Reply":[]}},{"pid":0,"ph":"i","name":"Log","ts":1267418.0549999999,"tid":3019,"args":{"Message":"--> textDocument/clangd.fileStatus"}},{"pid":0,"ph":"i","name":"Log","ts":1307982.3219999999,"tid":3009,"args":{"Message":"<-- $/setTrace"}},{"pid":0,"ph":"i","name":"Log","ts":1308013.531,"tid":3009,"args":{"Message":"unhandled notification $/setTrace"}},{"pid":0,"ph":"X","name":"$/setTrace","ts":1307970.523,"tid":3009,"dur":49.220999999903142,"args":{"Params":{"value":"off"}}},{"pid":0,"ph":"i","name":"Log","ts":1372995.085,"tid":3009,"args":{"Message":"<-- $/setTrace"}},{"pid":0,"ph":"i","name":"Log","ts":1373028.9469999999,"tid":3009,"args":{"Message":"unhandled notification $/setTrace"}},{"pid":0,"ph":"X","name":"$/setTrace","ts":1372980.2139999999,"tid":3009,"dur":55.854000000050291,"args":{"Params":{"value":"off"}}},{"pid":0,"ph":"i","name":"Log","ts":1412721.814,"tid":3009,"args":{"Message":"<-- textDocument/codeAction(9)"}},{"pid":0,"ph":"X","name":"Queued:EnumerateTweaks","ts":1412765.1710000001,"tid":3009,"dur":4.1890000000130385,"args":{"PreambleRequestsNames":[],"RequestsNames":[]}},{"pid":0,"ph":"s","name":"Context crosses threads","ts":1412697.0279999999,"tid":3009,"id":10,"cat":"mock_cat"},{"pid":0,"ph":"f","name":"Context crosses threads","ts":1412831.219,"tid":3019,"bp":"e","id":10,"cat":"mock_cat"},{"pid":0,"ph":"X","name":"getConfig","ts":1412843.088,"tid":3019,"dur":10.122999999905005,"args":{"path":"/home/zhangxin/g-2/matlab/MODEL_Three.m"}},{"pid":0,"ph":"i","name":"Log","ts":1412936.574,"tid":3019,"args":{"Message":"--> reply:textDocument/codeAction(9) 0 ms"}},{"pid":0,"ph":"X","name":"EnumerateTweaks","ts":1412821.723,"tid":3019,"dur":156.39299999992363,"args":{}},{"pid":0,"ph":"X","name":"textDocument/codeAction","ts":1412697.0279999999,"tid":3009,"dur":81.756999999983236,"args":{"Params":{"context":{"diagnostics":[],"triggerKind":2},"range":{"end":{"character":31,"line":58},"start":{"character":29,"line":58}},"textDocument":{"uri":"file:///home/zhangxin/g-2/matlab/MODEL_Three.m"}},"Reply":[]}},{"pid":0,"ph":"i","name":"Log","ts":1413018.6799999999,"tid":3019,"args":{"Message":"--> textDocument/clangd.fileStatus"}},{"pid":0,"ph":"i","name":"Log","ts":1944198.199,"tid":3009,"args":{"Message":"<-- $/setTrace"}},{"pid":0,"ph":"i","name":"Log","ts":1944233.946,"tid":3009,"args":{"Message":"unhandled notification $/setTrace"}},{"pid":0,"ph":"X","name":"$/setTrace","ts":1944179.977,"tid":3009,"dur":61.928000000072643,"args":{"Params":{"value":"off"}}},{"pid":0,"ph":"i","name":"Log","ts":2094395.162,"tid":3009,"args":{"Message":"<-- textDocument/codeAction(10)"}},{"pid":0,"ph":"X","name":"Queued:EnumerateTweaks","ts":2094454.1580000001,"tid":3009,"dur":3.7709999999497086,"args":{"PreambleRequestsNames":[],"RequestsNames":[]}},{"pid":0,"ph":"s","name":"Context crosses threads","ts":2094369.888,"tid":3009,"id":11,"cat":"mock_cat"},{"pid":0,"ph":"f","name":"Context crosses threads","ts":2094500.0989999999,"tid":3019,"bp":"e","id":11,"cat":"mock_cat"},{"pid":0,"ph":"X","name":"getConfig","ts":2094508.1980000001,"tid":3019,"dur":9.6350000000093132,"args":{"path":"/home/zhangxin/g-2/matlab/MODEL_Three.m"}},{"pid":0,"ph":"i","name":"Log","ts":2094630.24,"tid":3019,"args":{"Message":"--> reply:textDocument/codeAction(10) 0 ms"}},{"pid":0,"ph":"X","name":"EnumerateTweaks","ts":2094494.0249999999,"tid":3019,"dur":157.71900000004098,"args":{}},{"pid":0,"ph":"X","name":"textDocument/codeAction","ts":2094369.888,"tid":3009,"dur":100.18900000001304,"args":{"Params":{"context":{"diagnostics":[],"triggerKind":2},"range":{"end":{"character":31,"line":58},"start":{"character":29,"line":58}},"textDocument":{"uri":"file:///home/zhangxin/g-2/matlab/MODEL_Three.m"}},"Reply":[]}},{"pid":0,"ph":"i","name":"Log","ts":2094677.088,"tid":3019,"args":{"Message":"--> textDocument/clangd.fileStatus"}},{"pid":0,"ph":"i","name":"Log","ts":2627543.1200000001,"tid":3009,"args":{"Message":"<-- textDocument/codeAction(11)"}},{"pid":0,"ph":"X","name":"Queued:EnumerateTweaks","ts":2627578.0989999999,"tid":3009,"dur":2.8620000001974404,"args":{"PreambleRequestsNames":[],"RequestsNames":[]}},{"pid":0,"ph":"i","name":"Log","ts":2627604.8390000002,"tid":3009,"args":{"Message":"<-- textDocument/foldingRange(12)"}},{"pid":0,"ph":"s","name":"Context crosses threads","ts":2627527.6200000001,"tid":3009,"id":12,"cat":"mock_cat"},{"pid":0,"ph":"f","name":"Context crosses threads","ts":2627624.4580000001,"tid":3019,"bp":"e","id":12,"cat":"mock_cat"},{"pid":0,"ph":"X","name":"getConfig","ts":2627632.4870000002,"tid":3019,"dur":7.5399999995715916,"args":{"path":"/home/zhangxin/g-2/matlab/MODEL_Three.m"}},{"pid":0,"ph":"i","name":"Log","ts":2627707.3319999999,"tid":3019,"args":{"Message":"--> reply:textDocument/codeAction(11) 0 ms"}},{"pid":0,"ph":"M","name":"thread_name","tid":3197,"args":{"name":"FoldingRanges"}},{"pid":0,"ph":"X","name":"WaitForFreeSemaphoreSlot","ts":2627712.6379999998,"tid":3197,"dur":13.75400000018999,"args":{}},{"pid":0,"ph":"X","name":"EnumerateTweaks","ts":2627618.2439999999,"tid":3019,"dur":115.27000000001863,"args":{}},{"pid":0,"ph":"X","name":"textDocument/codeAction","ts":2627527.6200000001,"tid":3009,"dur":60.043999999761581,"args":{"Params":{"context":{"diagnostics":[],"triggerKind":2},"range":{"end":{"character":31,"line":58},"start":{"character":29,"line":58}},"textDocument":{"uri":"file:///home/zhangxin/g-2/matlab/MODEL_Three.m"}},"Reply":[]}},{"pid":0,"ph":"s","name":"Context crosses threads","ts":2627597.2990000001,"tid":3009,"id":13,"cat":"mock_cat"},{"pid":0,"ph":"f","name":"Context crosses threads","ts":2627758.7880000002,"tid":3197,"bp":"e","id":13,"cat":"mock_cat"},{"pid":0,"ph":"i","name":"Log","ts":2627764.0240000002,"tid":3019,"args":{"Message":"--> textDocument/clangd.fileStatus"}},{"pid":0,"ph":"X","name":"getConfig","ts":2627739.7280000001,"tid":3197,"dur":25.762000000104308,"args":{"path":"/home/zhangxin/g-2/matlab/MODEL_Three.m"}},{"pid":0,"ph":"i","name":"Log","ts":2627966.5669999998,"tid":3197,"args":{"Message":"--> reply:textDocument/foldingRange(12) 0 ms"}},{"pid":0,"ph":"X","name":"textDocument/foldingRange","ts":2627597.2990000001,"tid":3009,"dur":80.989000000059605,"args":{"Params":{"textDocument":{"uri":"file:///home/zhangxin/g-2/matlab/MODEL_Three.m"}},"Reply":[]}},{"pid":0,"ph":"i","name":"Log","ts":2791019.3149999999,"tid":3009,"args":{"Message":"<-- textDocument/codeAction(13)"}},{"pid":0,"ph":"X","name":"Queued:EnumerateTweaks","ts":2791078.3810000001,"tid":3009,"dur":3.9100000001490116,"args":{"PreambleRequestsNames":[],"RequestsNames":[]}},{"pid":0,"ph":"s","name":"Context crosses threads","ts":2790990.7590000001,"tid":3009,"id":14,"cat":"mock_cat"},{"pid":0,"ph":"f","name":"Context crosses threads","ts":2791150.503,"tid":3019,"bp":"e","id":14,"cat":"mock_cat"},{"pid":0,"ph":"X","name":"getConfig","ts":2791158.9509999999,"tid":3019,"dur":7.9599999999627471,"args":{"path":"/home/zhangxin/g-2/matlab/MODEL_Three.m"}},{"pid":0,"ph":"i","name":"Log","ts":2791245.9449999998,"tid":3019,"args":{"Message":"--> reply:textDocument/codeAction(13) 0 ms"}},{"pid":0,"ph":"X","name":"EnumerateTweaks","ts":2791143.7310000001,"tid":3019,"dur":126.8589999997057,"args":{}},{"pid":0,"ph":"X","name":"textDocument/codeAction","ts":2790990.7590000001,"tid":3009,"dur":107.66000000014901,"args":{"Params":{"context":{"diagnostics":[],"triggerKind":2},"range":{"end":{"character":31,"line":58},"start":{"character":29,"line":58}},"textDocument":{"uri":"file:///home/zhangxin/g-2/matlab/MODEL_Three.m"}},"Reply":[]}},{"pid":0,"ph":"i","name":"Log","ts":2791349.764,"tid":3019,"args":{"Message":"--> textDocument/clangd.fileStatus"}},{"pid":0,"ph":"i","name":"Log","ts":2906942.8080000002,"tid":3009,"args":{"Message":"<-- $/setTrace"}},{"pid":0,"ph":"i","name":"Log","ts":2906983.4419999998,"tid":3009,"args":{"Message":"unhandled notification $/setTrace"}},{"pid":0,"ph":"X","name":"$/setTrace","ts":2906923.398,"tid":3009,"dur":67.165000000037253,"args":{"Params":{"value":"off"}}},{"pid":0,"ph":"i","name":"Log","ts":3128444.8429999999,"tid":3009,"args":{"Message":"<-- textDocument/documentLink(14)"}},{"pid":0,"ph":"X","name":"Queued:DocumentLinks","ts":3128491.0619999999,"tid":3009,"dur":2.8629999998956919,"args":{"PreambleRequestsNames":[],"RequestsNames":[]}},{"pid":0,"ph":"s","name":"Context crosses threads","ts":3128423.2689999999,"tid":3009,"id":15,"cat":"mock_cat"},{"pid":0,"ph":"f","name":"Context crosses threads","ts":3128534.4190000002,"tid":3019,"bp":"e","id":15,"cat":"mock_cat"},{"pid":0,"ph":"X","name":"getConfig","ts":3128541.6800000002,"tid":3019,"dur":9.9839999997057021,"args":{"path":"/home/zhangxin/g-2/matlab/MODEL_Three.m"}},{"pid":0,"ph":"i","name":"Log","ts":3128572.1910000001,"tid":3019,"args":{"Message":"--> reply:textDocument/documentLink(14) 0 ms"}},{"pid":0,"ph":"X","name":"DocumentLinks","ts":3128528.2050000001,"tid":3019,"dur":68.212999999988824,"args":{}},{"pid":0,"ph":"X","name":"textDocument/documentLink","ts":3128423.2689999999,"tid":3009,"dur":77.288000000175089,"args":{"Params":{"textDocument":{"uri":"file:///home/zhangxin/g-2/matlab/MODEL_Three.m"}},"Reply":[]}},{"pid":0,"ph":"i","name":"Log","ts":3128620.2960000001,"tid":3019,"args":{"Message":"--> textDocument/clangd.fileStatus"}},{"pid":0,"ph":"i","name":"Log","ts":3535145.8730000001,"tid":3009,"args":{"Message":"<-- textDocument/documentLink(15)"}},{"pid":0,"ph":"X","name":"Queued:DocumentLinks","ts":3535195.304,"tid":3009,"dur":2.8629999998956919,"args":{"PreambleRequestsNames":[],"RequestsNames":[]}},{"pid":0,"ph":"s","name":"Context crosses threads","ts":3535121.7859999998,"tid":3009,"id":16,"cat":"mock_cat"},{"pid":0,"ph":"f","name":"Context crosses threads","ts":3535248.156,"tid":3019,"bp":"e","id":16,"cat":"mock_cat"},{"pid":0,"ph":"X","name":"getConfig","ts":3535257.7910000002,"tid":3019,"dur":9.9139999998733401,"args":{"path":"/home/zhangxin/g-2/matlab/MODEL_Three.m"}},{"pid":0,"ph":"i","name":"Log","ts":3535292.0720000002,"tid":3019,"args":{"Message":"--> reply:textDocument/documentLink(15) 0 ms"}},{"pid":0,"ph":"X","name":"DocumentLinks","ts":3535239.9879999999,"tid":3019,"dur":82.175000000279397,"args":{}},{"pid":0,"ph":"X","name":"textDocument/documentLink","ts":3535121.7859999998,"tid":3009,"dur":83.921000000089407,"args":{"Params":{"textDocument":{"uri":"file:///home/zhangxin/g-2/matlab/MODEL_Three.m"}},"Reply":[]}},{"pid":0,"ph":"i","name":"Log","ts":3535348.3450000002,"tid":3019,"args":{"Message":"--> textDocument/clangd.fileStatus"}},{"pid":0,"ph":"i","name":"Log","ts":3554945.2400000002,"tid":3009,"args":{"Message":"<-- $/cancelRequest"}},{"pid":0,"ph":"X","name":"$/cancelRequest","ts":3554923.5260000001,"tid":3009,"dur":62.907000000122935,"args":{"Params":{"id":15}}},{"pid":0,"ph":"i","name":"Log","ts":3625654.503,"tid":3009,"args":{"Message":"<-- textDocument/didClose"}},{"pid":0,"ph":"i","name":"Log","ts":3625768.3760000002,"tid":3009,"args":{"Message":"--> textDocument/publishDiagnostics"}},{"pid":0,"ph":"X","name":"textDocument/didClose","ts":3625629.6469999999,"tid":3009,"dur":197.86500000022352,"args":{"Params":{"textDocument":{"uri":"file:///home/zhangxin/g-2/matlab/MODEL_Three.m"}}}},{"pid":0,"ph":"i","name":"Log","ts":4212372.0599999996,"tid":3009,"args":{"Message":"<-- $/setTrace"}},{"pid":0,"ph":"i","name":"Log","ts":4212519.307,"tid":3009,"args":{"Message":"unhandled notification $/setTrace"}},{"pid":0,"ph":"X","name":"$/setTrace","ts":4212349.7889999999,"tid":3009,"dur":179.64099999982864,"args":{"Params":{"value":"off"}}},{"pid":0,"ph":"i","name":"Log","ts":1538828821.5380001,"tid":3009,"args":{"Message":"<-- $/setTrace"}},{"pid":0,"ph":"i","name":"Log","ts":1538828862.0420001,"tid":3009,"args":{"Message":"unhandled notification $/setTrace"}},{"pid":0,"ph":"X","name":"$/setTrace","ts":1538828804.8469999,"tid":3009,"dur":66.832000017166138,"args":{"Params":{"value":"off"}}},{"pid":0,"ph":"i","name":"Log","ts":1539493571.076,"tid":3009,"args":{"Message":"<-- $/setTrace"}},{"pid":0,"ph":"i","name":"Log","ts":1539493621.9860001,"tid":3009,"args":{"Message":"unhandled notification $/setTrace"}},{"pid":0,"ph":"X","name":"$/setTrace","ts":1539493553.688,"tid":3009,"dur":79.611000061035156,"args":{"Params":{"value":"off"}}},{"pid":0,"ph":"i","name":"Log","ts":1597607603.0369999,"tid":3009,"args":{"Message":"<-- $/setTrace"}},{"pid":0,"ph":"i","name":"Log","ts":1597607647.8010001,"tid":3009,"args":{"Message":"unhandled notification $/setTrace"}},{"pid":0,"ph":"X","name":"$/setTrace","ts":1597607583.902,"tid":3009,"dur":74.095000028610229,"args":{"Params":{"value":"off"}}},{"pid":0,"ph":"i","name":"Log","ts":1611288160.0710001,"tid":3009,"args":{"Message":"<-- $/setTrace"}},{"pid":0,"ph":"i","name":"Log","ts":1611288198.6889999,"tid":3009,"args":{"Message":"unhandled notification $/setTrace"}},{"pid":0,"ph":"X","name":"$/setTrace","ts":1611288147.71,"tid":3009,"dur":59.569000005722046,"args":{"Params":{"value":"off"}}},{"pid":0,"ph":"i","name":"Log","ts":1708688483.0999999,"tid":3009,"args":{"Message":"<-- $/setTrace"}},{"pid":0,"ph":"i","name":"Log","ts":1708688550.4159999,"tid":3009,"args":{"Message":"unhandled notification $/setTrace"}},{"pid":0,"ph":"X","name":"$/setTrace","ts":1708688450.21,"tid":3009,"dur":114.5220000743866,"args":{"Params":{"value":"off"}}},{"pid":0,"ph":"i","name":"Log","ts":1708779150.8659999,"tid":3009,"args":{"Message":"<-- $/setTrace"}},{"pid":0,"ph":"i","name":"Log","ts":1708779227.3299999,"tid":3009,"args":{"Message":"unhandled notification $/setTrace"}},{"pid":0,"ph":"X","name":"$/setTrace","ts":1708779123.283,"tid":3009,"dur":123.18099999427795,"args":{"Params":{"value":"off"}}},{"pid":0,"ph":"i","name":"Log","ts":2304426543.5479999,"tid":3009,"args":{"Message":"<-- $/setTrace"}},{"pid":0,"ph":"i","name":"Log","ts":2304426596.9099998,"tid":3009,"args":{"Message":"unhandled notification $/setTrace"}},{"pid":0,"ph":"X","name":"$/setTrace","ts":2304426522.1059999,"tid":3009,"dur":86.816999912261963,"args":{"Params":{"value":"off"}}},{"pid":0,"ph":"i","name":"Log","ts":4229274108.1869998,"tid":3009,"args":{"Message":"<-- shutdown(16)"}},{"pid":0,"ph":"i","name":"Log","ts":4229274637.2270002,"tid":3009,"args":{"Message":"--> reply:shutdown(16) 0 ms"}},{"pid":0,"ph":"X","name":"shutdown","ts":4229273886.8520002,"tid":3009,"dur":1070.856999874115,"args":{"Params":null,"Reply":null}},{"pid":0,"ph":"i","name":"Log","ts":4229297419.513,"tid":3009,"args":{"Message":"<-- exit"}},{"pid":0,"ph":"X","name":"exit","ts":4229297398.4970002,"tid":3009,"dur":62.908999919891357,"args":{"Params":null}},{"pid":0,"ph":"i","name":"Log","ts":4229297522.9889998,"tid":3009,"args":{"Message":"LSP finished, exiting with status 0"}}]}